{"_type":"export","__export_format":4,"__export_date":"2024-07-02T21:14:37.649Z","__export_source":"insomnia.desktop.app:v9.3.1","resources":[{"_id":"req_b15fb902b3894cab867019f84d7d24f9","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1719954410141,"created":1706567202068,"url":"{{ _.base_url }}/file/upload","name":"Upload File","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_cb7bb4b84be045e29d368a308eea2270","name":"filename.sh","value":"","description":"","type":"file","fileName":"/Users/bstrech/Desktop/Get-Device-Status (1).sh","disabled":false,"multiline":false},{"id":"pair_5d0d63b7c5ef4c108372fce6c1d7aea3","name":"executable","value":"true","description":"","disabled":false},{"id":"pair_f4e3a4f1864a460bac835f91a6057a2b","name":"shortDesc","value":"Update Status Columns of Device","description":"","disabled":false},{"id":"pair_6d810c8ec2c04b3c8fc4246f0727908e","name":"longDesc","value":"Updates Device Status Columns with some information about the device","description":"","disabled":false}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data"},{"name":"User-Agent","value":"insomnia/8.5.1"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}","disabled":false},"preRequestScript":"","metaSortKey":-1711047355205,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c22353625cbf44f682c836d96a2987cf","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1711047316095,"created":1711047316095,"name":"Scripting","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1711047316095,"_type":"request_group"},{"_id":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","parentId":null,"modified":1719943202300,"created":1719943202300,"name":"Public Remote.it Queries and Mutations","description":"","scope":"collection","_type":"workspace"},{"_id":"req_5d3b456f2dc14452923a2ea1a64291de","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712701977553,"created":1712701910825,"url":"{{ _.base_url }}","name":"Query: Get List of Files","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetFiles {\\nlogin {\\n# Add the following line if you need to do this in Org context.\\n# The ID is the Org ID\\n #account(id:\\\"XXXXXX-XXXX-XXXXXX-XXXXX\\\") {\\n files {\\n owner {\\n email\\n id\\n }\\n id\\n name \\n shortDesc\\n longDesc\\n executable\\n created\\n updated\\n versions {\\n id\\n created\\n version\\n arguments {\\n name\\n order\\n options\\n argumentType\\n }\\n }\\n lastVersion {\\n id\\n created\\n version\\n arguments {\\n name\\n order\\n options\\n argumentType \\n }\\n }\\n }\\n #} end of org context\\n}\\n}\",\"operationName\":\"GetFiles\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355105,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_54d68ecd2a7f4c18b048ad328d44ddf7","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712702115029,"created":1712702108034,"url":"{{ _.base_url }}","name":"Mutation: Delete File","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation deleteFile {\\n deleteFile(fileId: \\\"881189d3-59b8-48d7-84fe-3199bdfbc40a\\\")\\n}\",\"operationName\":\"deleteFile\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355055,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c206953e175f4763904e47eac3ebd5a0","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712702162702,"created":1712702158950,"url":"{{ _.base_url }}","name":"Mutation: Delete File Version","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation deleteFileVersion {\\n deleteFileVersion(fileVersionId: \\\"d3449672-74e6-4745-8c25-2ffd79e6be36\\\")\\n}\",\"operationName\":\"deleteFileVersion\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355030,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4c9b5793216b412ba50377e49fa94afd","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712702356564,"created":1712702210981,"url":"{{ _.base_url }}","name":"Mutation: Start a Scripting Job","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation execute {\\n startJob(\\n fileId: \\\"881189d3-59b8-48d7-84fe-3199bdfbc40a\\\",\\n #Device IDs OR Tags are used to identify the devices for the job. If both device IDs and tags are passed, device Ids will be used.\\n deviceIds: [\\\"80:00:00:00:01:22:37:AE\\\"],\\n #optional device tags (can be used to run a group of scripts against a set of devices with these tags at time of execution)\\n\\t\\t#ANY/ALL (i.e. or/and), when tags are used, operator should accompany\\n tagFilter: {operator: ANY, values:[\\\"reboot\\\"]},\\n arguments: [\\n {\\n name: \\\"url\\\"\\n value: \\\"https://remote.it\\\"\\n },\\n {\\n name: \\\"imageFile\\\"\\n value: \\\"3f5f04d4-23f4-4cd8-a9ba-70814952dff7\\\"\\n },\\n {\\n name: \\\"bookmarkName\\\"\\n value: \\\"RemoteIt\\\"\\n },\\n {\\n name: \\\"action\\\"\\n value: \\\"Add\\\"\\n }\\n ]\\n )\\n}\",\"operationName\":\"execute\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355017.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dd780677599a4219a31c949bfe3c8b4c","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712702737281,"created":1712702709208,"url":"{{ _.base_url }}","name":"Mutation: Cancel a Scripting Job","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Cancel Job requires the job ID and will cancel the job that is in progress but cannot revert any scripts that have already executed. Any currently executing script will no longer update the Remote.It backend for updating attributes or legacy task notifier, but the script will finish running. Any scripts not yet received by devices will be cancelled.\\nmutation cancelJob {\\n cancelJob(jobId: \\\"41fc0cec-4efd-40ef-8e48-1aa109019f1c\\\")\\n}\",\"operationName\":\"cancelJob\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355011.25,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ef407d70fb154a7687f37611de9ee7a7","parentId":"fld_c22353625cbf44f682c836d96a2987cf","modified":1712702991499,"created":1711047344497,"url":"{{ _.base_url }}","name":"Query: Get Scripting Jobs","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetJobs {\\n login {\\n # Add the following line if you need to do this in Org context.\\n # The ID is the Org ID\\n #account(id:\\\"XXXXXX-XXXX-XXXXXX-XXXXX\\\") {\\n #see documentation on paginated responses for iteration\\n #examples of filtering below\\n jobs(ids: [\\\"41fc0cec-4efd-40ef-8e48-1aa109019f1c\\\",\\\"41fc0cec-4efd-40ef-8e48-xxxxx\\\"], statuses:[FAILED,WAITING,RUNNING,SUCCESS,CANCELLED],size: 1000)\\n {\\n\\t\\t\\t\\thasMore\\n\\t\\t\\t\\ttotal\\n\\t\\t\\t\\tlast\\n\\t\\t\\t\\titems {\\n\\t\\t\\t\\t\\tid\\n \\towner {\\n \\temail\\n \\t}\\n\\t\\t\\t\\t\\tuser {\\n\\t \\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcreated\\n\\t\\t\\t\\t\\tupdated\\n\\t\\t\\t\\t\\t# One of the following FAILED,WAITING,RUNNING,SUCCESS,CANCELLED\\n\\t\\t\\t\\t\\tstatus\\n\\t\\t\\t\\t\\t#tags associated with job\\n\\t\\t\\t\\t\\ttags {\\n\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t#ANY/ALL (i.e. or/and)\\n\\t\\t\\t\\t\\ttagOperator,\\n\\t\\t\\t\\t\\tfileVersion {\\n\\t \\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\tfile {\\n\\t\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t \\t }\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tjobDevices {\\n\\t \\t\\t\\tid\\n\\t \\t\\t\\tdevice {\\n\\t\\t\\t\\t\\t\\t\\tid\\n\\t \\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t#attributes associated with the job.\\n\\t\\t\\t\\t\\t\\tattributes {\\n\\t\\t\\t\\t\\t\\t\\t created\\n\\t\\t\\t\\t\\t\\t\\t id\\n\\t\\t\\t\\t\\t\\t\\t key\\n\\t\\t\\t\\t\\t\\t\\t value\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t#one of the following: FAILED,WAITING,RUNNING,SUCCESS,CANCELLED\\n\\t\\t\\t\\t\\t\\tstatus\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\targuments {\\n\\t \\t\\t\\tid\\n\\t \\t\\t\\tfileArgument {\\n\\t\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t\\t\\tdesc\\n\\t\\t\\t\\t\\t\\t\\torder\\n\\t\\t\\t\\t\\t\\t\\toptions\\n\\t\\t\\t\\t\\t\\t\\targumentType\\n\\t\\t\\t\\t\\t\\t\\tcreated\\n\\t \\t\\t\\t}\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\tdesc\\n\\t\\t\\t\\t\\torder\\n\\t\\t\\t\\t\\targumentType\\n\\t\\t\\t\\t\\tvalue\\n }\\n }\\n }\\n }\\n}\",\"operationName\":\"GetJobs\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1711047355005,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_731add8923be488f8b3bccdcf7e0490a","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658181754996,"created":1651873937184,"url":"{{ _.base_url }}","name":"Query: Get Organization As Owner of Organization","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Query the organization and its members\\n#Returns ID that can be used in subsequent queries\\n#and each members role\\n\\nquery {\\n\\tlogin {\\n\\t\\torganization {\\n\\t\\t\\t# this is your organization, not any that your belong to as a member\\n\\t\\t\\tid\\n\\t\\t\\tname\\n\\t\\t\\tcreated\\n\\t\\t\\troles {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tpermissions\\n\\t\\t\\t}\\n\\t\\t\\tmembers {\\n\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcustomRole {\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937184,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_35091bff97b64bb48813431dc5dd2e65","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1658166690957,"created":1658166690957,"name":"Organizations","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1658166690957,"_type":"request_group"},{"_id":"req_d51abd6cae6641eba536ac6c345ba724","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658180899502,"created":1651875181219,"url":"{{ _.base_url }}","name":"Query: Get Organization As Member Of Organization","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Retrieves all organizations and roles a user is a member of\\n\\nquery {\\n\\tlogin {\\n\\t\\tmembership {\\n\\t\\t\\t# This is your role and permissions\\n\\t\\t\\tcustomRole {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tpermissions\\n\\t\\t\\t}\\n\\t\\t\\torganization {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\taccount {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcreated\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937134,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9fac8b6b21454c62ab0fad684a0cbab5","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658180902793,"created":1658180658021,"url":"{{ _.base_url }}","name":"Mutation: Remove Member from Org","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# The access key token must belong to a user with appropriate permissions. The user must either be the owner OR have a custom role with the administer (manage organization user) permission. \\n\\n\\n# accountId is the org id.\\n\\nmutation {\\n\\tremoveMember(\\n\\t\\taccountId: \\\"XX:XX\\\"\\n\\t\\temail: \\\"email@example.com\\\"\\n\\t)\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937121.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_193941330ab340dca4a3b3468a0200c8","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658181844548,"created":1658180992619,"url":"{{ _.base_url }}","name":"Mutation: Add or Change Org Member","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# The access key token must belong to a user with appropriate permissions. The user must either be the owner OR have a custom role with the administer (manage organization user) permission. \\n\\n\\n# accountId is the org id.\\n#\\n# role can be either MEMBER or ADMIN\\n# roleId is the customRole ID\\n\\nmutation {\\n\\tsetMember(\\n\\t\\taccountId: \\\"XX:XX\\\"\\n\\t\\temail: [\\\"email@example.com\\\"]\\n\\t\\t# Do not use role and roleId together.\\n\\t\\t# role can be used when there are no custom roles. Values are MEMBER or ADMIN\\n\\t\\trole: MEMBER\\n\\t\\t# roleId is used when it is a custom role. See Query: Get Organization As Owner of Organization for fetching roles. Note if you are not the organization owner, you will need to combine it with Query: Organization General Query Example.\\n\\t\\troleId: 225\\n\\t)\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937115.25,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a5441e8ed27d4f36bdc2e41fd9fd6558","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658180922081,"created":1658169646890,"url":"{{ _.base_url }}","name":"Query: Organization General Query Example","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Use this example as a template for modifying the other examples. You will need to have the appropriate permissions for the requested information. \\n# At this moment mutations must be done as the owner of the organization unless specified here or in the schema documentation.\\n\\nquery {\\n\\tlogin {\\n\\t\\t#account ID is the organization id. \\n\\t\\taccount(id: \\\"xx:xx\\\") {\\n\\t\\t\\t#rest of the query for example...\\n\\t\\t\\tdevices (size:1000, from:0) {\\n\\t\\t\\t\\thasMore\\n\\t\\t\\t\\titems {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t#end of nested part of the query.\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937109,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_72b90628dcf1465691f7a7f4d581c5cc","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658181764981,"created":1658166769596,"url":"{{ _.base_url }}","name":"Query: Organization Get Devices and Services with Shares","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices limited to the first 1000\\n#hasMore - if there are more devices in the account than requested\\n#total - total number of devices based on query filter and account\\n# Iteration should be used if hasMore is true and then increment the from to the next set. For example if the first query is size 1000 and hasMore is true, then the next query should set from to 1001.\\n#Retrieves details of each devices such as\\n# id, name and access. Access sharing at the device level indicates that at least one service is shared. Scripting indicates that they have scripting access in legacy portal. \\n# Services lists the individual services of the device. with the id, name and access to the individual service.\\n# Sharing can be removed via Mutation: Remove Device Share. You will need the user email, device ID or the individual service you want to remove sharing. If you pass device ID in remove, it will remove all sharing for that user including scripting.\\n\\nquery {\\n\\tlogin {\\n\\t\\t#account ID is the organization id. You will need to have the appropriate permissions for the requested information.\\n\\t\\taccount(id: \\\"xxxx-xxxx\\\") {\\n\\t\\t\\tdevices (size:1000, from:0) {\\n\\t\\t\\t\\thasMore\\n\\t\\t\\t\\ttotal\\n\\t\\t\\t\\titems {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\taccess {\\n\\t\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tscripting\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t# omit this node if do not need the individual service information\\n\\t\\t\\t\\t\\tservices {\\n\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t\\taccess {\\n\\t\\t\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937084,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dbd60fa173ed457d80d51dd588712bfc","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1706221210985,"created":1658876477607,"url":"{{ _.base_url }}","name":"Query: Organization Get Devices and Services with Shares","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices limited to the first 1000\\n#hasMore - if there are more devices in the account than requested\\n#total - total number of devices based on query filter and account\\n# Iteration should be used if hasMore is true and then increment the from to the next set. For example if the first query is size 1000 and hasMore is true, then the next query should set from to 1001.\\n#Retrieves details of each devices such as\\n# id, name and access. Access sharing at the device level indicates that at least one service is shared. Scripting indicates that they have scripting access in legacy portal. \\n# Services lists the individual services of the device. with the id, name and access to the individual service.\\n# Sharing can be removed via Mutation: Remove Device Share. You will need the user email, device ID or the individual service you want to remove sharing. If you pass device ID in remove, it will remove all sharing for that user including scripting.\\n\\nquery {\\n\\tlogin {\\n\\t\\t#account ID is the organization id. You will need to have the appropriate permissions for the requested information.\\n\\t\\taccount(id: \\\"935C32DA-FD80-46DA-986E-50AA9FAB1BFB\\\") {\\n\\t\\t\\tfiles {\\n\\t\\t\\t\\tname\\n\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651871720607.5625,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e96f24c614a343ea83dcfbb979bbefb0","parentId":"fld_35091bff97b64bb48813431dc5dd2e65","modified":1658181891333,"created":1658176446702,"url":"{{ _.base_url }}","name":"Mutation: Device and Shares","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Device and share mutations can just be executed without the org context since a device/service id is associated with a specific account. See mutations in other sections.\\n# The access key token must belong to a user with appropriate permissions. For example a user with only member priviledges will not be able to change sharing or update a device. \\n\\n\\n# Example: Mutation to remove a share of device and all services where deviceId is the device ID. If a specific service is to be removed, use the service ID. This is not org membership, but individual sharing.\\n\\nmutation {\\n\\tshare(\\n\\t\\tdeviceId: \\\"80:00:00:00:12:34:56:78\\\"\\n\\t\\temail: \\\"email@example.com\\\"\\n\\t\\tnotify: true\\n\\t\\taction: REMOVE\\n\\t)\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651869504131.125,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b9bea86fe2034c1a852922c71f8362df","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1658164717979,"created":1652240448110,"url":"{{ _.base_url }}","name":"Query: Get Account ID of User","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Query the organization and its members\\n#Returns ID that can be used in subsequent queries\\n#and each members role\\n\\nquery {\\n\\tlogin {\\n\\t\\taccount {\\n\\t\\t\\tid\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651873937234,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_e0d0d161ecd14f4f87689482f75b6d1c","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1651871164099,"created":1651856615936,"name":"Account","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1651856615936,"_type":"request_group"},{"_id":"req_9c3d4fc52ca04717b4a4fc4fa52e9428","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243084046,"created":1651875235048,"url":"{{ _.base_url }}","name":"Query: Retrieve Access Keys","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#For API Authentication:\\n#only the Key is returned.\\n#Secret is only retrievable once upon creation\\n\\nquery {\\n\\tlogin {\\n\\t\\taccessKeys {\\n\\t\\t\\tcreated\\n\\t\\t\\tenabled\\n\\t\\t\\tkey\\n\\t\\t\\tlastUsed\\n\\t\\t\\t__typename\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1643072403207.75,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5c2ba0ff3f7d46aaadce993df75991ef","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243085704,"created":1652112357776,"url":"{{ _.base_url }}","name":"Query: Application Types","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#List of supported application types and their default port for\\n#for service creation\\n\\nquery {\\n\\tapplicationTypes {\\n\\t\\tid\\n\\t\\tname\\n\\t\\tdescription\\n\\t\\tport\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1642705672625.4062,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4088f39220324f61a4f40727de593164","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243087173,"created":1652109137444,"url":"{{ _.base_url }}","name":"Query: Retrieve Notification Settings","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the current notification settings on users account\\n#Notifications are used to deliver device and service online/offline events\\n\\nquery {\\n\\tlogin {\\n\\t\\tnotificationSettings {\\n\\t\\t\\temailNotifications\\n\\t\\t\\tdesktopNotifications\\n\\t\\t\\turlNotifications\\n\\t\\t\\tnotificationEmail\\n\\t\\t\\tnotificationUrl\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1642338942043.0625,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c6c3904db9eb49cf82ff9a539a59b602","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243088170,"created":1651875251185,"url":"{{ _.base_url }}","name":"Mutation: Create New Access Keys","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Access keys are used to authenticate you with our API.\\n#You can create a new key or delete an existing key at any time.\\n#You can also temporarily disable a key.\\n#If you lose or forget your secret key, you cannot retrieve it.\\n#There is a limit of #2 access keys.\\n#No variables are required to be passed in\\n\\nmutation {\\n\\tcreateAccessKey {\\n\\t\\tkey\\n\\t\\tsecret\\n\\t\\t__typename\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1641605480878.375,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ffd26fc7b75440f4bcd7e36fc35ac3bd","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243089957,"created":1651876074107,"url":"{{ _.base_url }}","name":"Mutation: Enable/Disable Access Keys","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Access keys are used to authenticate you with our API.\\n#You can enable or disable keys at any time.\\n\\n#This example shows how to provide operation names for mutations\\n#and pass in query variables\\n\\nmutation changeAccessKey($key: String!, $enable: Boolean!) {\\n\\tupdateAccessKey(key: $key, enabled: $enable) {\\n\\t\\tcreated\\n\\t\\tkey\\n\\t\\tenabled\\n\\t\\tlastUsed\\n\\t}\\n}\\n\",\"variables\":{\"key\":\"2873\",\"enable\":true},\"operationName\":\"changeAccessKey\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640872019713.6875,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_500ba7a70d3b4521b0784c63cab656eb","parentId":"fld_e0d0d161ecd14f4f87689482f75b6d1c","modified":1652243091496,"created":1652109314788,"url":"{{ _.base_url }}","name":"Mutation: Delete Access Keys","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Access keys are used to authenticate you with our API.\\n#You can create a new key or delete an existing key at any time.\\n\\n#You must pass the key to delete from the account\\n#Keys are not recoverable once deleted\\n\\nmutation {\\n\\tdeleteAccessKey(key: \\\"\\\")\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640688654422.5156,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_873f2057ea5749418c41525f595a86b8","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1658166399035,"created":1652108238149,"url":"{{ _.base_url }}","name":"Query: Get User, Device, Service Attributes","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Returns any custom attributes added to the User, Device or Service\\n\\nquery {\\n\\tlogin {\\n\\t\\tattributes\\n\\t\\tdevices {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\tattributes\\n\\t\\t\\t\\tservices {\\n\\t\\t\\t\\t\\tattributes\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640505289131.3438,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_31026d24950d41c78cf898ae06263184","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1652127621155,"created":1651856399806,"name":"Custom Attributes and Tagging","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1651856399806,"_type":"request_group"},{"_id":"req_67adcab72a094198a3705ffda16a8401","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1719954580706,"created":1719954525599,"url":"{{ _.base_url }}","name":"Query: Get All Tags for Own Account","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#List of tags owned by the user or Organization making query\\nquery {\\n\\tlogin {\\n\\t\\ttags {\\n\\t\\t\\tname\\n\\t\\t\\tcolor\\n\\t\\t\\tcreated\\n\\t\\t}\\n\\t}\\n}\\n\\n# \\tList of available colors\\n# \\t{\\n# id: 1,\\n# name: 'Gray',\\n# color: '#797c86',\\n# },\\n# {\\n# id: 2,\\n# name: 'Red',\\n# color: '#E65B4C',\\n# },\\n# {\\n# id: 3,\\n# name: 'Orange',\\n# color: '#EF922E',\\n# },\\n# {\\n# id: 4,\\n# name: 'Yellow',\\n# color: '#F5CC17',\\n# },\\n# {\\n# id: 5,\\n# name: 'Lime',\\n# color: '#BBD40F',\\n# },\\n# {\\n# id: 6,\\n# name: 'Green',\\n# color: '#61C951',\\n# },\\n# {\\n# id: 7,\\n# name: 'Teal',\\n# color: '#31C49E',\\n# },\\n# {\\n# id: 8,\\n# name: 'Sky',\\n# color: '#4AB8F4',\\n# },\\n# {\\n# id: 9,\\n# name: 'Blue',\\n# color: '#6193FE',\\n# },\\n# {\\n# id: 10,\\n# name: 'Violet',\\n# color: '#6F54CC',\\n# },\\n# {\\n# id: 11,\\n# name: 'Purple',\\n# color: '#8F4EBA',\\n# },\\n# {\\n# id: 12,\\n# name: 'Berry',\\n# color: '#C236AB',\\n# },\\n# {\\n# id: 13,\\n# name: 'Pink',\\n# color: '#E13F88',\\n# }\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640459447808.5508,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d5be30e62775498eb6ba82be6cf657da","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1658174029982,"created":1652108921935,"url":"{{ _.base_url }}","name":"Mutation: Set Single Attribute","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This mutation sets a custom attribute of given value to\\n#a User, Device or Service. \\n#User is ID in {login{account{id}}}\\n\\n\\nmutation {\\n setAttribute(\\n name: \\\"CustomAttribute\\\",\\n value: \\\"ValueOfAttribute\\\",\\n serviceId: \\\"2AEA1ECC-0E684D40\\\"\\n )\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640413606485.7578,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e2a8f4407d7d4227afd3c2d0c60f17a6","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652243095037,"created":1652239063631,"url":"{{ _.base_url }}","name":"Mutation: Set Remote.it Category","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This mutation updates the category A on a Device.\\n#Attributes can be applied to User, Device or Service.\\n\\nmutation {\\n\\tsetAttribute(\\n\\t\\tname: \\\"$remoteit.categoryA\\\"\\n\\t\\tvalue: \\\"my category A value\\\"\\n\\t\\tserviceId: \\\"80:00:00:00:12:34:56:78\\\"\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640402146155.0596,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_71be5c16039b427c9736431166398dc5","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1658174036598,"created":1652108939393,"url":"{{ _.base_url }}","name":"Mutation: Set Multiple Attributes","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This example passes in a json formatted object to a \\n#custom fuction name to set any number of attributes\\n\\nmutation UpdateMultipleAttributes($attributes: Object!, $serviceId: String!) {\\n\\tsetAttributes(attributes: $attributes, serviceId: $serviceId)\\n}\\n\",\"variables\":{\"attributes\":{\"$remoteit\":{\"categoryA\":\"Uptime: 1h, 06m\",\"categoryB\":\"Version: 1.0\",\"categoryC\":\"Serial Number: x292jsu2\",\"categoryD\":\"MAC: AUWS83729A\"}},\"serviceId\":\"80:00:00:00:01:12:12:12\"},\"operationName\":\"UpdateMultipleAttributes\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640390685824.3613,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_944ee561bbe0492da7629570542d0f98","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652243116334,"created":1652108929326,"url":"{{ _.base_url }}","name":"Mutation: Remove Single Attribute","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#to delete tags you must set the value to null\\n\\nmutation {\\n\\tsetAttribute(\\n\\t\\tname: \\\"CustomAttribute\\\"\\n\\t\\tvalue: null\\n\\t\\tserviceId: \\\"80:00:00:00:12:34:56:78\\\"\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640367765162.9648,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_869a2cd9dd2845008784437192faaedd","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652241729068,"created":1652126415995,"url":"{{ _.base_url }}","name":"Mutation: Create Tag w/Color","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Create a tag with color that can be assigned to devices and custom roles\\n\\nmutation {\\n\\tsetTag(tag: { name: \\\"example\\\", color: 2 })\\n}\\n\\n# \\tList of available colors\\n# \\t{\\n# id: 1,\\n# name: 'Gray',\\n# color: '#797c86',\\n# },\\n# {\\n# id: 2,\\n# name: 'Red',\\n# color: '#E65B4C',\\n# },\\n# {\\n# id: 3,\\n# name: 'Orange',\\n# color: '#EF922E',\\n# },\\n# {\\n# id: 4,\\n# name: 'Yellow',\\n# color: '#F5CC17',\\n# },\\n# {\\n# id: 5,\\n# name: 'Lime',\\n# color: '#BBD40F',\\n# },\\n# {\\n# id: 6,\\n# name: 'Green',\\n# color: '#61C951',\\n# },\\n# {\\n# id: 7,\\n# name: 'Teal',\\n# color: '#31C49E',\\n# },\\n# {\\n# id: 8,\\n# name: 'Sky',\\n# color: '#4AB8F4',\\n# },\\n# {\\n# id: 9,\\n# name: 'Blue',\\n# color: '#6193FE',\\n# },\\n# {\\n# id: 10,\\n# name: 'Violet',\\n# color: '#6F54CC',\\n# },\\n# {\\n# id: 11,\\n# name: 'Purple',\\n# color: '#8F4EBA',\\n# },\\n# {\\n# id: 12,\\n# name: 'Berry',\\n# color: '#C236AB',\\n# },\\n# {\\n# id: 13,\\n# name: 'Pink',\\n# color: '#E13F88',\\n# }\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640367765137.9648,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8da01d8a72e84d10b0b8764dd1b2edcf","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652241732582,"created":1652122349178,"url":"{{ _.base_url }}","name":"Mutation: Add Tag to Device","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#To add a tag by name to a given device.\\n#You can add existing or new tags with this mutation\\n#Use Get Devices to retrieve the ID for serviceID field.\\n\\nmutation {\\n\\taddTag(name: \\\"\\\", serviceId: \\\"\\\")\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640367765112.9648,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_fbbca139287a49459d5dd3f554a1599f","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652241735702,"created":1652240839704,"url":"{{ _.base_url }}","name":"Mutation: Add Multiple Tags to Devices","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#To add multiple tags by name to a list of devices.\\n#You can add existing or new tags with this mutation\\n#Use Get Devices to retrieve the ID for serviceID field.\\n\\nmutation {\\n\\taddTag(\\n\\t\\tname: [\\\"hello\\\", \\\"world\\\"]\\n\\t\\tserviceId: [\\\"80:00:01:01:01:00:01:01\\\", \\\"80:00:01:01:01:00:01:02\\\"]\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640356304807.2666,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ec2fa6fa9bbe412fb092204593773cf4","parentId":"fld_31026d24950d41c78cf898ae06263184","modified":1652241739790,"created":1652240995828,"url":"{{ _.base_url }}","name":"Mutation: Delete Tag","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#To remove multiple tags by name.\\n#If the tags are associated with devices or custom roles they will be removed.\\n\\nmutation {\\n\\tdeleteTag(name: [\\\"staging\\\", \\\"production\\\", \\\"qa\\\"])\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640350574654.4175,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6b3fec69efe7428a99a64c666fabef2d","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1660160835288,"created":1652108277589,"url":"{{ _.base_url }}","name":"Query: Get Active Sessions","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query shows all the active connection sessions including\\n#when, where, who and what devices they are connected to\\n\\nquery {\\n\\tlogin {\\n\\t\\tsessions {\\n\\t\\t\\tid\\n\\t\\t\\ttimestamp\\n\\t\\t\\tendpoint {\\n\\t\\t\\t\\tproxy\\n\\t\\t\\t\\tgeo {\\n\\t\\t\\t\\t\\tcountryName\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tuser {\\n\\t\\t\\t\\temail\\n\\t\\t\\t}\\n\\t\\t\\ttarget {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tport\\n\\t\\t\\t\\tapplication\\n\\t\\t\\t\\tdevice {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640321923840.1719,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_54c6f53b615f49b4ad8dc881323deb23","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1651856343001,"created":1651856343001,"name":"Connections","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1651856343001,"_type":"request_group"},{"_id":"req_89274588469b41e691d3ee258f8b48b3","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1701228866338,"created":1652108525820,"url":"{{ _.base_url }}","name":"Mutation: Generate Proxy Connection","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Proxy connections can be generated to individual services and the unique\\n#address will be provided in the host and port fields.\\n#\\n#hostIP values could contain\\n#\\n#0.0.0.0 for fully public connections available to user\\n#\\n#255.255.255.255 to allow only the first accessing IP to \\\"Latch\\\" the connection.\\n#Blocking all others\\n#\\n#A unique public IP address to only allow that IP to access the connection\\n\\nmutation GetConnection($serviceId: String!, $hostIP: String!) {\\n\\tconnect(serviceId: $serviceId, hostIP: $hostIP) {\\n\\t\\tid\\n\\t\\tcreated\\n\\t\\thost\\n\\t\\tport\\n\\t\\treverseProxy\\n\\t\\ttimeout\\n\\t}\\n}\\n\",\"operationName\":\"GetConnection\",\"variables\":{\"serviceId\":\"80:00:00:12:34:56:78:90\",\"hostIP\":\"255.255.255.255\"}}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640276082517.379,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7c1f9531e523425b99c1d7bf982f699a","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1652243187733,"created":1652108536157,"url":"{{ _.base_url }}","name":"Mutation: Close Proxy Connection","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Used to disconnect any active proxy connection\\n\\nmutation Disconnect($serviceId: String!, $connectionId: String!) {\\n\\tdisconnect(serviceId: $serviceId, connectionId: $connectionId)\\n}\\n\",\"variables\":{\"serviceId\":\"80:00:00:12:34:56:78:90\",\"connectionId\":\"123ddfff-6432-49d0-6432-205d49d08454\"},\"operationName\":\"Disconnect\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640253161855.9824,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_054559468b424bfcad35e8c36c9d82a8","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1701230326348,"created":1701229946142,"url":"{{ _.base_url }}","name":"Query: Get Devices & Public URLs","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Will only return paginated devices and services, but only services with a public url will have a link\\n\\nquery {\\n\\tlogin {\\n\\t\\tdevices(size: 1000, ) {\\n\\t\\t\\ttotal\\n\\t\\t\\thasMore\\n\\t\\t\\titems {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname \\n\\t\\t\\t\\tservices {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\tlink {\\n\\t\\t\\t\\t\\t\\turl\\n\\t\\t\\t\\t\\t\\tenabled\\n\\t\\t\\t\\t\\t\\tpassword\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\",\"operationName\":\"SetPublicURL\",\"variables\":\"{\\n\\t\\\"serviceId\\\": \\\"80:00:00:12:34:56:78:90\\\",\\n\\t\\\"isEnabled\\\": true\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640253161805.9824,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6f53a4061ae14d9dbf2b32da8a7b4639","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1701729409013,"created":1701228453478,"url":"{{ _.base_url }}","name":"Mutation: Set Public URL Connectionn","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Required Options include\\n# serviceID, enabled, \\n# options: password: string, allow: array of CIDRs, deny: array of CIDRs\\n\\nmutation SetPublicURL($serviceId: String!, $isEnabled: Boolean!) {\\n\\tsetConnectLink(serviceId: $serviceId, enabled: $isEnabled) {\\n\\t\\turl\\n\\t\\tpassword\\n\\t\\tenabled\\n}\\n}\\n\",\"operationName\":\"SetPublicURL\",\"variables\":\"{\\n\\t\\\"serviceId\\\": \\\"90:00:00:00:00:08:AE:1C\\\",\\n\\t\\\"isEnabled\\\": true\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640253161755.9824,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cb067520322744b3a464a09183012543","parentId":"fld_54c6f53b615f49b4ad8dc881323deb23","modified":1701229825105,"created":1701229417490,"url":"{{ _.base_url }}","name":"Mutation: Delete Public URL Connectionn","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Required Options include\\n# serviceID\\n# Use this when you intend to destroy the public url and not just disable it. If you want to temporarily disable it, or update it to add or remove a password, use the Mutation: Set Public URL Connection\\n\\nmutation RemovePublicURL($serviceId: String!) {\\n\\tremoveConnectLink(serviceId: $serviceId)\\n}\\n\",\"operationName\":\"RemovePublicURL\",\"variables\":\"{\\n\\t\\\"serviceId\\\": \\\"80:00:00:12:34:56:78:90\\\"\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1638553041706.9868,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_19f6c8c2258d4b0284441733e9aea466","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1652243285028,"created":1652112119811,"url":"{{ _.base_url }}","name":"Query: Get Event Logs","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query returns logs for all devices and a list of device events\\n#How far logs can be retrieved is determined by your subscription level\\n\\nquery getEvents(\\n\\t$size: Int\\n\\t$from: Int\\n\\t$minDate: DateTime\\n\\t$maxDate: DateTime\\n\\t$types: [EventType!]\\n) {\\n\\tlogin {\\n\\t\\tevents(\\n\\t\\t\\tsize: $size\\n\\t\\t\\tfrom: $from\\n\\t\\t\\tminDate: $minDate\\n\\t\\t\\tmaxDate: $maxDate\\n\\t\\t\\ttypes: $types\\n\\t\\t) {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\ttype\\n\\t\\t\\t\\towner {\\n\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tactor {\\n\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttarget {\\n\\t\\t\\t\\t\\tcreated\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tusers {\\n\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttimestamp\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\",\"variables\":{\"size\":1000,\"from\":0,\"minDate\":\"2021-06-01\",\"maxDate\":\"2021-07-01\",\"types\":[\"DEVICE_CONNECT\"]},\"operationName\":\"getEvents\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640299003178.7754,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5c51123b52c0498d83e010e2d1495bec","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1651856322960,"created":1651856322960,"name":"Events, Activity Feed, Logging","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1651856322960,"_type":"request_group"},{"_id":"req_8f66018a9bda4b5a9529e5d960e6be0b","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1659120988589,"created":1658331068789,"url":"{{ _.base_url }}","name":"Query: Get Connection History with User Info","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query returns logs for all connect events based on your permission level.\\n#How far logs can be retrieved is determined by your subscription level\\n\\nquery getEvents(\\n\\t$size: Int\\n\\t$from: Int\\n\\t$minDate: DateTime\\n\\t$maxDate: DateTime\\n\\t$types: [EventType!]\\n) {\\n\\tlogin {\\n\\t\\tevents(\\n\\t\\t\\tsize: $size\\n\\t\\t\\tfrom: $from\\n\\t\\t\\tminDate: $minDate\\n\\t\\t\\tmaxDate: $maxDate\\n\\t\\t\\ttypes: $types\\n\\t\\t) {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\t... on DeviceConnectEvent \\t\\t\\t{\\n\\t\\t\\t\\t\\tactor {\\n\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t#source info is the connecting person. If they are using the web interface and not the desktop, this will be the proxy server information\\n\\t\\t\\t\\t\\tsourceAddress\\n\\t\\t\\t\\t\\tsourceType\\n\\t\\t\\t\\t\\tsourceGeo {\\n\\t\\t\\t\\t\\t\\tconnectionType\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttarget {\\n\\t\\t\\t\\t\\tcreated\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttimestamp\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\",\"variables\":{\"size\":1000,\"from\":0,\"minDate\":\"2022-06-01\",\"maxDate\":\"2022-07-31\",\"types\":[\"DEVICE_CONNECT\"]},\"operationName\":\"getEvents\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640293273013.4263,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c3f0083e7ab844ee8cc41f61a6910721","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1652243189365,"created":1652112167127,"url":"{{ _.base_url }}","name":"Query: Get Events as CSV","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query returns a url to download logs for\\n#all devices and a list of device events\\n#How far logs can be retrieved is determined by your subscription level\\n\\n{\\n\\tlogin {\\n\\t\\teventsUrl(\\n\\t\\t\\tminDate: \\\"2022-01-01\\\"\\n\\t\\t\\tmaxDate: \\\"2022-02-01\\\"\\n\\t\\t\\ttypes: [DEVICE_CONNECT]\\n\\t\\t)\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640287542848.0771,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a6069236d0e34703aa26490a12a5de6f","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1652243276984,"created":1652112201478,"url":"{{ _.base_url }}","name":"Query: Get Events For Specific Device","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query returns logs for a given list of devices and a list of device events\\n#How far logs can be retrieved is determined by your subscription level\\n\\nquery getEvents(\\n\\t$deviceID: [String!]!\\n\\t$minDate: DateTime\\n\\t$maxDate: DateTime\\n\\t$types: [EventType!]\\n) {\\n\\tlogin {\\n\\t\\tdevice(id: $deviceID) {\\n\\t\\t\\tevents(minDate: $minDate, maxDate: $maxDate, types: $types) {\\n\\t\\t\\t\\thasMore\\n\\t\\t\\t\\ttotal\\n\\t\\t\\t\\titems {\\n\\t\\t\\t\\t\\tstate\\n\\t\\t\\t\\t\\ttimestamp\\n\\t\\t\\t\\t\\ttarget {\\n\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t... on DeviceStateEvent {\\n\\t\\t\\t\\t\\t\\texternalAddress\\n\\t\\t\\t\\t\\t\\tgeo {\\n\\t\\t\\t\\t\\t\\t\\tconnectionType\\n\\t\\t\\t\\t\\t\\t\\tisp\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\\n#variables\\n\",\"variables\":{\"deviceID\":[\"80:XX:00:00:01:02:03:04\"],\"minDate\":\"2021-06-01\",\"maxDate\":\"2021-07-01\",\"types\":[\"DEVICE_STATE\"]},\"operationName\":\"getEvents\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640281812682.728,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7a39a28621374b6aae8cc2620a65bb6a","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1652243191651,"created":1652112232066,"url":"{{ _.base_url }}","name":"Query: Get Events For Specific Device as CSV","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This query returns a url for downloading logs for a\\n#given list of devices and a list of device events\\n#How far logs can be retrieved is determined by your subscription level\\n\\nquery getEventsUrl(\\n\\t$deviceID: [String!]!\\n\\t$minDate: DateTime\\n\\t$maxDate: DateTime\\n\\t$types: [EventType!]\\n) {\\n\\tlogin {\\n\\t\\tdevice(id: $deviceID) {\\n\\t\\t\\teventsUrl(minDate: $minDate, maxDate: $maxDate, types: $types)\\n\\t\\t}\\n\\t}\\n}\\n\",\"variables\":{\"deviceID\":[\"80:XX:00:00:01:02:03:04\"],\"minDate\":\"2021-06-01\",\"maxDate\":\"2021-07-01\",\"types\":[\"DEVICE_STATE\"]},\"operationName\":\"getEventsUrl\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640278947600.0535,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_2e1939218c7848b2abd5e3c7a9ed8e6c","parentId":"fld_5c51123b52c0498d83e010e2d1495bec","modified":1652243192485,"created":1652112247974,"url":"{{ _.base_url }}","name":"Query: Get Activity Feed","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"{\\n\\tlogin {\\n\\t\\tfeed(start: \\\"2022-04-01T00:00:00.000Z\\\", end: \\\"2022-04-14T23:59:59.000Z\\\") {\\n\\t\\t\\tstart\\n\\t\\t\\tend\\n\\t\\t\\tduration\\n\\t\\t\\titems {\\n\\t\\t\\t\\t__typename\\n\\t\\t\\t\\tstart\\n\\t\\t\\t\\tend\\n\\t\\t\\t\\tduration\\n\\t\\t\\t\\t... on DeviceOfflineItem {\\n\\t\\t\\t\\t\\tdevice {\\n\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tintervals {\\n\\t\\t\\t\\t\\t\\tstart\\n\\t\\t\\t\\t\\t\\tend\\n\\t\\t\\t\\t\\t\\tduration\\n\\t\\t\\t\\t\\t\\toffline {\\n\\t\\t\\t\\t\\t\\t\\texternalAddress\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tonline {\\n\\t\\t\\t\\t\\t\\t\\texternalAddress\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t... on UserLoginItem {\\n\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tevents {\\n\\t\\t\\t\\t\\t\\ttimestamp\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t... on UserConnectionItem {\\n\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tservice {\\n\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t\\ttitle\\n\\t\\t\\t\\t\\t\\tdevice {\\n\\t\\t\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t# each conection interval if listed below\\n\\t\\t\\t\\t\\tintervals {\\n\\t\\t\\t\\t\\t\\t# start of the connection (or period start)\\n\\t\\t\\t\\t\\t\\tstart\\n\\t\\t\\t\\t\\t\\t# end of the connection (or period end)\\n\\t\\t\\t\\t\\t\\tend\\n\\t\\t\\t\\t\\t\\t# duration of the connection\\n\\t\\t\\t\\t\\t\\tduration\\n\\t\\t\\t\\t\\t\\t# the connect and disconnect events can be further queried\\n\\t\\t\\t\\t\\t\\tconnect {\\n\\t\\t\\t\\t\\t\\t\\tproxy\\n\\t\\t\\t\\t\\t\\t\\tsourceAddress\\n\\t\\t\\t\\t\\t\\t\\tsourceGeo {\\n\\t\\t\\t\\t\\t\\t\\t\\tstate\\n\\t\\t\\t\\t\\t\\t\\t\\tcity\\n\\t\\t\\t\\t\\t\\t\\t\\tcountry\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_fe7e8ffa728f4a9187c9a9a390f5a372"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1640277515058.7163,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a66649a492dd42fe909eea52c3eabfba","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660163709579,"created":1660161035398,"url":"{{ _.base_url }}","name":"Query: Get Application Types","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Gets the list of Application Types, alternatively know as Service types which can be used it mutations to add services or update services. See https://link.remote.it/docs/api/application-types for further explanation of the properties\\n\\nquery {\\n applicationTypes {\\n id\\n name\\n description\\n port\\n protocol\\n proxy\\n }\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651856205322.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_2f97409632174ff6b6e65902afdc9cf1","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1651856232037,"created":1651856189393,"name":"Devices and Services","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1651856189393,"_type":"request_group"},{"_id":"req_1820fac455fe4019ad13406f4b8d2444","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1714762365583,"created":1652108307443,"url":"{{ _.base_url }}","name":"Query: Get Devices","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices limited to the first 1000\\n#hasMore - if there are more devices in the account than requested\\n#total - total number of devices based on query filter and account\\n#Retrieves details of each devices such as\\n#id, online/offline state, lastReported Date\\n#which users have accounts\\n#tags and attributes associated with each device\\n\\nquery {\\n\\tlogin {\\n\\t\\tdevices (size:1000, from:0) {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tstate\\n\\t\\t\\t\\tlastReported\\n\\t\\t\\t\\taccess {\\n\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttags {\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tattributes\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651856205272.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cf038376c63e4ff8bcbd40100d82b297","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1714762797634,"created":1714762393079,"url":"{{ _.base_url }}","name":"Query: Get Device List CSV","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the csv download link for device list.\\n# if you need your organization's list, use the account section\\n\\n\\nquery {\\n\\tlogin {\\n\\t\\t#account(id:\\\"XXXXX\\\"){\\n\\t\\t #set services false if you only want the devices and not all of services \\n\\t report(name:\\\"DeviceList\\\",parameters:{services: false})\\n\\t\\t#title=Service Type\\n\\t\\t#timestamp= Last Reported\\n\\t\\t#}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651850492423.4707,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_fcfa0d47ac0a42a29a72e25dd3ecdb73","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1658166749844,"created":1658165798605,"url":"{{ _.base_url }}","name":"Query: Get Devices and Services with Shares","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices limited to the first 1000\\n#hasMore - if there are more devices in the account than requested\\n#total - total number of devices based on query filter and account\\n# Iteration should be used if hasMore is true and then increment the from to the next set. For example if the first query is size 1000 and hasMore is true, then the next query should set from to 1001.\\n#Retrieves details of each devices such as\\n# id, name and access. Access sharing at the device level indicates that at least one service is shared. Scripting indicates that they have scripting access in legacy portal. \\n# Services lists the individual services of the device. with the id, name and access to the individual service.\\n# Sharing can be removed via Mutation: Remove Device Share. You will need the user email, device ID or the individual service you want to remove sharing. If you pass device ID in remove, it will remove all sharing for that user including scripting.\\n\\nquery {\\n\\tlogin {\\n\\t\\tdevices (size:1000, from:0) {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\taccess {\\n\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tscripting\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t# omit this node if do not need the individual service information\\n\\t\\t\\t\\tservices {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\taccess {\\n\\t\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651490582934.625,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b83507f2f3ab4fa29ea95e2ff8512c0e","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1658165702349,"created":1652125607703,"url":"{{ _.base_url }}","name":"Query: Get Filtered Devices","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices limited to the size argument\\n#hasMore - if there are more devices in the filtered list than requested\\n#total - total number of devices based on query filter and account\\n#Retrieves details of each devices such as\\n#id, online/offline state, lastReported Date\\n#Status and Category Fields\\n\\nquery {\\n\\tlogin {\\n\\t\\tdevices(size: 10, sort: \\\"-created\\\", from: 0, name: \\\"pi\\\") {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tstate\\n\\t\\t\\t\\tlastReported\\n\\t\\t\\t\\tcategoryA\\n\\t\\t\\t\\tstatusA\\n\\t\\t\\t\\tcategoryB\\n\\t\\t\\t\\tstatusB\\n\\t\\t\\t\\tcategoryC\\n\\t\\t\\t\\tstatusC\\n\\t\\t\\t\\tcategoryD\\n\\t\\t\\t\\tstatusD\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1651124960596.75,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_06880e040bb74a6a82bc9cee3225f62e","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1658165700391,"created":1652108448737,"url":"{{ _.base_url }}","name":"Query: Get Devices and Services","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Gets the list of devices and their services limited to the size argument\\n#hasMore - if there are more devices in the filtered list than requested\\n#total - total number of devices based on query filter and account\\n#Retrieves details of each devices such as\\n#id, online/offline state, lastReported Date\\n#Each service under the device and you can filter on multiple arguments\\n#This example finds all ssh \\\"applicationType:28\\\" services under each device with \\\"pi\\\" in the device name\\n\\nquery {\\n\\tlogin {\\n\\t\\tdevices(size: 10, sort: \\\"-created\\\", from: 0, name: \\\"pi\\\") {\\n\\t\\t\\thasMore\\n\\t\\t\\ttotal\\n\\t\\t\\titems {\\n\\t\\t\\t\\tid\\n\\t\\t\\t\\tname\\n\\t\\t\\t\\tstate\\n\\t\\t\\t\\tlastReported\\n\\t\\t\\t\\tservices(application: 28) {\\n\\t\\t\\t\\t\\tid\\n\\t\\t\\t\\t\\tname\\n\\t\\t\\t\\t\\thost\\n\\t\\t\\t\\t\\tenabled\\n\\t\\t\\t\\t\\tport\\n\\t\\t\\t\\t\\tstate\\n\\t\\t\\t\\t\\tsessions {\\n\\t\\t\\t\\t\\t\\tuser {\\n\\t\\t\\t\\t\\t\\t\\temail\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\ttimestamp\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1650393715921,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a4bea2b2249d4c05a904c0a0f1138f23","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1658165692415,"created":1652108487365,"url":"{{ _.base_url }}","name":"Query: Get Endpoints","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Another method of returning devices and services\\n#Every Device and Service is considered an endpoint\\n#Endpoints contain additional meta data\\n#including % of device being online and available\\n#its calculated geo location\\n#version of the remoteit deamon running \\n\\n{\\n\\tlogin {\\n\\t\\tendpoints {\\n\\t\\t\\tid\\n\\t\\t\\tname\\n\\t\\t\\tavailability\\n\\t\\t\\tstate\\n\\t\\t\\tgeo {\\n\\t\\t\\t\\tcountryName\\n\\t\\t\\t\\tstateName\\n\\t\\t\\t}\\n\\t\\t\\texternalAddress\\n\\t\\t\\texpired\\n\\t\\t\\tquality\\n\\t\\t\\tversion\\n\\t\\t}\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649662471245.25,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_69e590c16c4542baa42ece50525eebe9","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161825056,"created":1652108666559,"url":"{{ _.base_url }}","name":"Mutation: Share Device and All Services","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Mutation to share a device and all services \\n#You can determine whether or not scripting is available to the user separate from services\\n\\nmutation {\\n\\tshare(\\n\\t\\tdeviceId: \\\"80:00:00:00:12:34:56:78\\\"\\n\\t\\temail: \\\"email@example.com\\\"\\n\\t\\tscripting: false\\n\\t\\tnotify: true\\n\\t\\taction: ADD\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649296848907.375,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c5ec92a2e4784276b2ae7ab1290794a9","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161828541,"created":1652282358250,"url":"{{ _.base_url }}","name":"Mutation: Remove Device Share ","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#Mutation to share a device and all services \\n#You can determine whether or not scripting is available to the user separate from services\\n\\nmutation {\\n\\tshare(\\n\\t\\tdeviceId: \\\"80:00:00:00:12:34:56:78\\\"\\n\\t\\temail: \\\"email@example.com\\\"\\n\\t\\tnotify: true\\n\\t\\taction: REMOVE\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649251146115.1406,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c44ed88c03ab4600b6124b7f16403da3","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161836820,"created":1652108715369,"url":"{{ _.base_url }}","name":"Mutation: Leave Shared Device","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This mutation allows you to leave an individual device that has been shared to you\\n\\nmutation {\\n\\tshare(\\n\\t\\tdeviceId: \\\"80:00:00:00:01:02:03:04\\\"\\n\\t\\temail: \\\"YourEmail@email.com\\\"\\n\\t\\taction: LEAVE\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649205443322.9062,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e9a6293262bf436c81b9c638464d9cf5","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161841360,"created":1652108680822,"url":"{{ _.base_url }}","name":"Mutation: Share Device and Limited Services","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#This mutation allows you to modify or share an existing single device share\\n#For the given deviceID\\n#share to user email\\n#Notify the user the device has been shared\\n#do not Allow for bulk scripting\\n#Allow user to connect to service 80:00:00:00:01:01:05:06\\n#Remove service from the previous share event\\n\\nmutation {\\n\\tshare(\\n\\t\\tdeviceId: \\\"80:00:00:00:01:01:01:02\\\"\\n\\t\\temail: \\\"UserToShareTo@email.com\\\"\\n\\t\\tscripting: false\\n\\t\\tnotify: true\\n\\t\\tservices: [\\n\\t\\t\\t{ serviceId: \\\"80:00:00:00:01:01:05:06\\\", action: ADD }\\n\\t\\t\\t{ serviceId: \\\"80:00:00:00:01:01:04:07\\\", action: REMOVE }\\n\\t\\t]\\n\\t)\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649114037738.4375,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bb0a2baf3c474916b91d08751a976647","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660163727679,"created":1660160860111,"url":"{{ _.base_url }}","name":"Mutation: Add Device Service ","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"# Mutation to add a service to a device. This only applies to devices with configurable as true. If the device is not configurable, you will need to use either the CLI or Desktop admin on the device to add a service.\\n# You will need the appropriate Application Type to complete\\n# Application types are service type definitions\\n\\nmutation {\\n\\taddService(\\n\\t\\tdeviceId: \\\"\\\" #device ID to which this service will be added\\n\\t\\tapplication: 28 #SSH \\n\\t\\tname: \\\"My SSH\\\"\\n\\t\\thost: \\\"127.0.0.1\\\" #or LAN address\\n\\t\\tport: 22 #port for the service\\n\\t\\tenabled: true #if false the service will not allow connnections until enabled\\n\\t) {\\n\\t\\tid # Return the ID of new service\\n\\t}\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649068334946.2031,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d46f7b9afc6443a58e44023a44928132","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161848935,"created":1652109094471,"url":"{{ _.base_url }}","name":"Mutation: Delete Device or Service","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#You can pass service ID or device ID into this mutation\\n#Services will be deleted if they are found\\n#Devices will only be deleted if they are offline\\n\\nmutation{\\n\\tdeleteDevice(deviceId:\\\"\\\")\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1649022632153.9688,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_13e6bbd700344f489f9042a27026dac5","parentId":"fld_2f97409632174ff6b6e65902afdc9cf1","modified":1660161592705,"created":1652109273356,"url":"{{ _.base_url }}","name":"Mutation: Rename Device or Service","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"#You can pass service ID or device ID into this mutation\\n#success will be determined by your permissions to the provided ID\\n\\nmutation {\\n\\trenameService(name: \\\"New Name\\\", serviceId: \\\"\\\")\\n}\\n\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{% remoteit '' %}"},"preRequestScript":"","metaSortKey":-1648976929361.7344,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_075f0c83cc9b4f1fb8fe0d44cf941db5","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1652284893985,"created":1651856097775,"name":"Base environment","data":{"base_url":"{{ scheme }}://{{ host }}{{ base_path }}"},"dataPropertyOrder":{"&":["base_url"]},"color":null,"isPrivate":false,"metaSortKey":1630433729097,"_type":"environment"},{"_id":"jar_a67c0dda93c14dc9838890eff248791f","parentId":"wrk_ec9c9755e7ee4b2aa2aa23c7a77c07c2","modified":1651856097781,"created":1651856097781,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"env_707a174056ce42829513a5018aac28f0","parentId":"env_075f0c83cc9b4f1fb8fe0d44cf941db5","modified":1658164665128,"created":1651856121500,"name":"remoteit graphql prod","data":{"base_url":"https://api.remote.it/graphql/v1"},"dataPropertyOrder":{"&":["base_url"]},"color":null,"isPrivate":false,"metaSortKey":1651856121500,"_type":"environment"}]}