Subscriber

Create Subscriber of Application

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-ID 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=23

Accept

application/json

Body

{
            "m2m:sub": {
                "rn": "nama-subscriber-anda",
                "nu": "server-hostname-anda-atau-ip",
                "nct": 2
            }
        }
  • Response

Result

{
    "m2m:sub": {
        "rn": "nama-subscriber-anda",
        "ty": 23,
        "ri": "/antares-cse/sub-542371250",
        "pi": "/antares-cse/CAE492050112",
        "ct": "20191120T160324",
        "lt": "20191120T160324",
        "acpi": [
            "/antares-cse/acp-35730207",
            "/antares-cse/acp-891035820"
        ],
        "nu": [
            "server-hostname-anda-atau-ip"
        ],
        "nct": 2
    }
}

Create Subscriber of Device

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/device-name or https://platform.antares.id:8443/~/antares-cse/your-device-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=23

Accept

application/json

Body

{
            "m2m:sub": {
                "rn": "nama-subscriber-anda",
                "nu": "server-hostname-anda-atau-ip",
                "nct": 2
            }
        }
  • Response

Result

{
    "m2m:sub": {
        "rn": "your-subscriber-name",
        "ty": 23,
        "ri": "/antares-cse/sub-422069048",
        "pi": "/antares-cse/cnt-869787388",
        "ct": "20191120T155438",
        "lt": "20191120T155438",
        "acpi": [
            "/antares-cse/acp-35730207",
            "/antares-cse/acp-891035820"
        ],
        "nu": [
            "server-hostname-anda-atau-ip"
        ],
        "nct": 2
    }
}

Retrieve All Subscribers ID of an Application

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/application-name?fu=1&ty=23 or https://platform.antares.id:8443/~/antares-cse/your-application-ID?fu=1&ty=23 Note: your-application-ID must be starting with CAE. e.g. CAE760571675

Method

GET

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/json

Accept

application/json

  • Response

{
  "uril": ""
}

Retrieve Particular Subscriber of an Application

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name or https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID Note: your-subscriber-ID must be starting with sub. e.g. sub-123456789

Method

GET

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/json

Accept

application/json

  • Response

{
  "sub": {
    "ty": 23,
    "ri": "/antares-cse/sub-542371250",
    "pi": "/antares-cse/CAE492050112",
    "ct": "20191120T160324",
    "lt": "20191120T160324",
    "acpi": [
      "/antares-cse/acp-35730207",
      "/antares-cse/acp-891035820"
    ],
    "nu": "server-hostname-anda-atau-ip",
    "nct": 2
  }
}

Retrieve All Subscribers ID of a Device

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/application-name/device-name?fu=1&ty=23 or https://platform.antares.id:8443/~/antares-cse/your-device-ID?fu=1&ty=23 Note: your-device-ID must be starting with CNT. e.g. CNT-842419289

Method

GET

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/JSON

Accept

application/JSON

  • Response

Result

{
    "m2m:uril": [
        "/antares-cse/antares-id/your-application-name/sub_your-subscriber-name"
    ]
}

Retrieve Particular Subscriber of a Device

  • Request

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name or https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID Note: your-subscriber-ID must be starting with sub. e.g. sub-123456789

Method

GET

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/json

Accept

application/json

  • Response

{
  "sub": {
    "ty": 23,
    "ri": "/antares-cse/sub-422069048",
    "pi": "/antares-cse/cnt-869787388",
    "ct": "20191120T155438",
    "lt": "20191120T155438",
    "acpi": [
      "/antares-cse/acp-35730207",
      "/antares-cse/acp-891035820"
    ],
    "nu": "server-hostname-anda-atau-ip",
    "nct": 2
  }
}

Delete Subscriber of Application

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name or https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID Note: your-subscriber-ID must be starting sub. e.g. sub-123456789

Method

DELETE

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/json

Accept

application/json

Delete Subscriber of Device

Field

Value

URL

https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name or https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID

Note: your-subscriber-ID must be starting with sub. e.g. sub-123456789

Method

DELETE

Header

Key

Value

X-M2M-Origin

antares-access-key

Content-Type

application/json

Accept

application/json

Last updated