Device
Create
Request
Field
Value
URL
https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name
or
https://platform.antares.id:8443/~/antares-cse/your-application-ID
Note: your-application-ID
must be starting with CAE
. e.g. CAE760571675
Method
POST
Header
Key
Value
X-M2M-Origin
antares-access-key
Content-Type
application/json;ty=3
Accept
application/json
X-ANTARES-Package
your-package-ID
Body
Note!! Key adalah nama variable sedangkan value adalah nilai dari variable tersebut.
Response
Retrieve All Devices ID of a Particular Application
Request
Field
Value
URL
https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name?fu=1&ty=3
or
https://platform.antares.id:8443/~/antares-cse/your-application-ID?fu=1&ty=3
Note: your-application-ID
must be starting CAE
. e.g. CAE760571675
Method
GET
Header
Key
Value
X-M2M-Origin
antares-access-key
Content-Type
application/json
Accept
application/json
Response
Retrieve a Particular Device
Request
Field
Value
URL
https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name
or
https://platform.antares.id:8443/~/antares-cse/your-device-ID
Note: your-device-id
must be starting with CNT-842419289
Method
GET
Header
Key
Value
X-M2M-Origin
antares-access-key
Content-Type
application/json
Accept
application/json
Response
Update Label of Device
Request
Field
Value
URL
https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name
or
https://platform.antares.id:8443/~/antares-cse/your-device-ID
Note: your-device-id
must be starting with CAE760571675
Method
PUT
Header
Key
Value
X-M2M-Origin
antares-access-key
Content-Type
application/json;ty=3
Accept
application/json
Body
Response
Delete a Particular Device
Request
Field
Value
URL
https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name
or
https://platform.antares.id:8443/~/antares-cse/your-device-ID
Note: your-device-id
must be starting with CNT
. e.g. CNT-842419289
Method
PUT
Header
Key
Value
X-M2M-Origin
antares-access-key
Content-Type
application/json
Accept
application/json
Last updated