{ "opencollection": "1.0.0", "info": { "name": "Arduino IoT Cloud binaries_v2 clients_v1 API", "version": "2.0" }, "items": [ { "info": { "name": "clients_v1", "type": "folder" }, "items": [ { "info": { "name": "list clients_v1", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/iot/v1/clients", "headers": [ { "name": "X-Organization", "value": "" } ] }, "docs": "Returns the list of oauth clients of the user" }, { "info": { "name": "create clients_v1", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/iot/v1/clients", "headers": [ { "name": "X-Organization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new client associated to the user. It is active by default" }, { "info": { "name": "token clients_v1", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/iot/v1/clients/token", "headers": [ { "name": "X-Organization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Exchange client_id and client_secret for a jwt token" }, { "info": { "name": "show clients_v1", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/iot/v1/clients/:id", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the thing" } ] }, "docs": "Returns the client requested by the user" }, { "info": { "name": "enable clients_v1", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/iot/v1/clients/:id", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Enable and disables iot clients of a user" }, { "info": { "name": "update clients_v1", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/iot/v1/clients/:id", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the client" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing client" }, { "info": { "name": "delete clients_v1", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/iot/v1/clients/:id", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the client" } ] }, "docs": "Removes a client associated to the user" }, { "info": { "name": "regenerate clients_v1", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/iot/v1/clients/:id/secret", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the client" } ] }, "docs": "Regenerate client secret" } ] } ], "bundled": true }