Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "OM2M/ContainerAnnc"

(Created page with "__TOC__ == ContainerAnnc Resource == == ContainerAnnc representation == <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XML...")
 
(Retrieve ContainerAnnc)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== ContainerAnnc Resource ==
 
== ContainerAnnc Resource ==
  
== ContainerAnnc representation ==
+
The ContainerAnnc resource represents an active announcement of a container in another SCL. This resource keeps a link to the original resource.
 +
 
 +
 
 +
{{CTable}}
 +
| Attribute Name || Type || Multiplicity || Create || Update ||Response
 +
|-
 +
| [[OM2M/Attributes#Link|link]] || AnyURI || 1 || M || NP || M
 +
|-
 +
| [[OM2M/Attributes#AccessRightID|accessRightID]] || AnyURI || 0..1 || O || O || O
 +
|-
 +
| [[OM2M/Attributes#SearchStrings|searchStrings]] || searchStrings || 1 || M || M || M
 +
|-
 +
| [[OM2M/Attributes#ExpirationTime|expirationTime]] || DateTime || 1 || O || O || M*
 +
|-
 +
| [[OM2M/Attributes#ID|id]] || NMTOKEN || 1 || O || NP || M*
 +
|}
 +
 
 +
== ContainerAnnc XSD schema  ==
  
 
<source lang="xml">
 
<source lang="xml">
Line 22: Line 39:
 
</source>
 
</source>
  
== ContainerAnnc create ==
+
== Create ContainerAnnc ==
  
 
This resource shall not be created via the API. It is created only as a result of a remote announcable resource announcement.
 
This resource shall not be created via the API. It is created only as a result of a remote announcable resource announcement.
  
== ContainerAnnc retrieve ==
+
== Retrieve ContainerAnnc ==
 +
 
 +
'''Example Request'''
 +
 
 +
<pre>
 +
GET /scl-id/scls/scl-id2/containers/containerAnnc
 +
Host: om2m.laas.fr
 +
Authorization: Basic xxxxxxxxxxxxxxxxxxx
 +
</pre>
 +
 
 +
'''Example Response'''
 +
 
 +
<pre>
 +
HTTP/1.1 200 OK
 +
Content-Type: text/xml
  
 +
</pre>
  
== ContainerAnnc update ==
+
== Update ContainerAnnc ==
  
 
This resource shall not be updated via the API. It is updated only as a result of a remote announcable resource update.
 
This resource shall not be updated via the API. It is updated only as a result of a remote announcable resource update.
  
== ContainerAnnc delete ==
+
== Delete ContainerAnnc ==
  
 
This resource shall not be deleted via the API. It is deleted only as a result of a remote announcable resource de-announcement.
 
This resource shall not be deleted via the API. It is deleted only as a result of a remote announcable resource de-announcement.

Latest revision as of 04:45, 20 May 2014

ContainerAnnc Resource

The ContainerAnnc resource represents an active announcement of a container in another SCL. This resource keeps a link to the original resource.


Attribute Name Type Multiplicity Create Update Response
link AnyURI 1 M NP M
accessRightID AnyURI 0..1 O O O
searchStrings searchStrings 1 M M M
expirationTime DateTime 1 O O M*
id NMTOKEN 1 O NP M*

ContainerAnnc XSD schema

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/m2m" xmlns:tns="http://uri.etsi.org/m2m">
  <include schemaLocation="common.xsd" />
  <element name="containerAnnc" type="tns:ContainerAnnc" />
  <complexType name="ContainerAnnc">
    <all>
      <element ref="tns:link" />
      <element ref="tns:accessRightID" minOccurs="0" />
      <element ref="tns:searchStrings" minOccurs="0" />
      <element ref="tns:expirationTime" minOccurs="0" />
    </all>
    <attribute ref="tns:id"/>
  </complexType>
</schema>

Create ContainerAnnc

This resource shall not be created via the API. It is created only as a result of a remote announcable resource announcement.

Retrieve ContainerAnnc

Example Request

GET /scl-id/scls/scl-id2/containers/containerAnnc
Host: om2m.laas.fr
Authorization: Basic xxxxxxxxxxxxxxxxxxx

Example Response

HTTP/1.1 200 OK
Content-Type: text/xml

Update ContainerAnnc

This resource shall not be updated via the API. It is updated only as a result of a remote announcable resource update.

Delete ContainerAnnc

This resource shall not be deleted via the API. It is deleted only as a result of a remote announcable resource de-announcement.

Back to the top