Skip to content

Annex A.8 ContentInstances

Annex A.8.1 Latest contentInstance in ADN-AE1

HTTP Request:

GET /~/mn-cse/home_gateway/light_ae1/light/la HTTP/1.1
Host: mn.provider.com:8080
X-M2M-Origin: /mn-cse/Cgateway_ae
X-M2M-RI: mncse-12353
Accept: application/xml

HTTP Response:

200 OK
X-M2M-RSC: 2000
X-M2M-RI: mncse-12353
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="cin-394798749">
    <ty>4</ty>
    <ri>cin-394798749</ri>
    <pi>/mn-cse/cnt-582759912</pi>
    <ct>20150925T053225</ct>
    <lt>20150925T053225</lt>
    <et>20171005T105550</et>
    <st>0</st>
    <cnf>text/plain:0</cnf>
    <cs>2</cs>
    <con>ON</con>
</m2m:cin>

Annex A.8.2 Latest contentInstance in ADN-AE2

HTTP Request:

GET /~/mn-cse/home_gateway/light_ae2/light/la HTTP/1.1
Host: mn.provider.com:8080
X-M2M-Origin: /mn-cse/Cgateway_ae
X-M2M-RI: mncse-12354
Accept: application/xml

HTTP Response:

200 OK
X-M2M-RSC: 2000
X-M2M-RI: mncse-12354
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="cin-256599578">
    <ty>4</ty>
    <ri>cin-256599578</ri>
    <pi>/mn-cse/cnt-582769893</pi>
    <ct>20150925T053425</ct>
    <lt>20150925T053425</lt>
    <et>20171005T105550</et>
    <st>0</st>
    <cnf>text/plain:0</cnf>
    <cs>2</cs>
    <con>ON</con>
</m2m:cin>