Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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/GroupAnnc"

(GroupAnnc resource)
(GroupAnnc resource)
 
Line 3: Line 3:
  
 
The GroupAnnc resource represents an active announcement of a registered group in an other SCL. GroupAnnc resource keeps a link to the original resource. It can reside in the following targets:
 
The GroupAnnc resource represents an active announcement of a registered group in an other SCL. GroupAnnc resource keeps a link to the original resource. It can reside in the following targets:
* <sclBase2>/scls/<scl1>/groups/<groupAnnc> as an announcement of <sclBase1>/groups/<group>.
+
* '''<sclBase2>/scls/<scl1>/groups/<groupAnnc>''' as an announcement of <sclBase1>/groups/<group>.
* <sclBase2>/scls/<scl1>/applications/<appAnnc>/groups/<groupAnnc> as an announcement of <sclBase1>/applications/<app>/groups/<group>.
+
* '''<sclBase2>/scls/<scl1>/applications/<appAnnc>/groups/<groupAnnc>''' as an announcement of <sclBase1>/applications/<app>/groups/<group>.
  
 
{{CTable}}
 
{{CTable}}

Latest revision as of 05:11, 20 May 2014

GroupAnnc resource

The GroupAnnc resource represents an active announcement of a registered group in an other SCL. GroupAnnc resource keeps a link to the original resource. It can reside in the following targets:

  • <sclBase2>/scls/<scl1>/groups/<groupAnnc> as an announcement of <sclBase1>/groups/<group>.
  • <sclBase2>/scls/<scl1>/applications/<appAnnc>/groups/<groupAnnc> as an announcement of <sclBase1>/applications/<app>/groups/<group>.


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*

GroupAnnc 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="groupAnnc" type="tns:GroupAnnc" />
  <complexType name="GroupAnnc">
    <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 GroupAnnc

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

Retrieve GroupAnnc

Example Request

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

Example Response

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

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<om2m:groupAnnc xmlns:om2m="http://uri.etsi.org/m2m" om2m:id="GROUP_GETAnnc">
  <om2m:link>scl-id2/groups/GROUP_GET</om2m:link>
  <om2m:accessRightID>scl-id/scls/scl-id2/accessRights/AR_ADMIN</om2m:accessRightID>
  <om2m:searchStrings>
        <om2m:searchString>ResourceType/GroupAnnc</om2m:searchString>
        <om2m:searchString>ResourceID/GROUP_GETAnnc</om2m:searchString>
  </om2m:searchStrings>
  <om2m:expirationTime>2045-12-24T17:03:50.250+01:00</om2m:expirationTime>
</om2m:groupAnnc>

Update GroupAnnc

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

Delete GroupAnnc

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