{ "opencollection": "1.0.0", "info": { "name": "Withings developer documentation answers device API", "version": "2.0" }, "items": [ { "info": { "name": "device", "type": "folder" }, "items": [ { "info": { "name": "Device v2 - Disablefeature", "type": "http" }, "http": { "method": "POST", "url": "https://wbsapi.withings.nethttps://wbsapi.withings.net/v2/device ", "params": [ { "name": "action", "value": "", "type": "query", "description": "Service action name. Must take the string value ```disablefeature```." }, { "name": "client_id", "value": "", "type": "query", "description": "Id of the client" }, { "name": "signature", "value": "", "type": "query", "description": "Hash of params (Cf. [Signature hash protocol](/developer-guide/v3/get-access/sign-your-requests))." }, { "name": "nonce", "value": "", "type": "query", "description": "A random token used to prevent replay attacks (Cf. [Signature v2 - Getnonce](#operation/signaturev2-getnonce))" }, { "name": "feature_name", "value": "", "type": "query", "description": "Name of the feature to enable / disable. Cf [Feature Name List](/developer-guide/v3/integration-guide/features-api/features-api-enable#available-features)" }, { "name": "userid", "value": "", "type": "query", "description": "User's identifier." }, { "name": "model", "value": "", "type": "query", "description": "Model integer value of a device or a consumable" } ] }, "docs": "Device v2 - Disablefeature" }, { "info": { "name": "Device v2 - Enablefeature", "type": "http" }, "http": { "method": "POST", "url": "https://wbsapi.withings.nethttps://wbsapi.withings.net/v2/device ", "params": [ { "name": "action", "value": "", "type": "query", "description": "Service action name. Must take the string value ```enablefeature```." }, { "name": "client_id", "value": "", "type": "query", "description": "Id of the client" }, { "name": "signature", "value": "", "type": "query", "description": "Hash of params (Cf. [Signature hash protocol](/developer-guide/v3/get-access/sign-your-requests))." }, { "name": "nonce", "value": "", "type": "query", "description": "A random token used to prevent replay attacks (Cf. [Signature v2 - Getnonce](#operation/signaturev2-getnonce))" }, { "name": "feature_name", "value": "", "type": "query", "description": "Name of the feature to enable / disable. Cf [Feature Name List](/developer-guide/v3/integration-guide/features-api/features-api-enable#available-features)" }, { "name": "userid", "value": "", "type": "query", "description": "User's identifier." }, { "name": "model", "value": "", "type": "query", "description": "Model integer value of a device or a consumable" } ] }, "docs": "Device v2 - Enablefeature" }, { "info": { "name": "Device v2 - Endpartnerprogram", "type": "http" }, "http": { "method": "POST", "url": "https://wbsapi.withings.nethttps://wbsapi.withings.net/v2/device", "params": [ { "name": "action", "value": "", "type": "query", "description": "Service action name. Must take the string value ```endpartnerprogram```." }, { "name": "client_id", "value": "", "type": "query", "description": "Id of the client" }, { "name": "signature", "value": "", "type": "query", "description": "Hash of params (Cf. [Signature hash protocol](/developer-guide/v3/get-access/sign-your-requests))." }, { "name": "nonce", "value": "", "type": "query", "description": "A random token used to prevent replay attacks (Cf. [Signature v2 - Getnonce](#operation/signaturev2-getnonce))" }, { "name": "mac_address", "value": "", "type": "query", "description": "The mac address of the target device." }, { "name": "status", "value": "", "type": "query", "description": "The status" } ] }, "docs": "**Important:** Read the [Terminate Device](/developer-guide/v3/tutorials/device-cellular-connectivity/) Section before calling this webservice." } ] } ], "bundled": true }