Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search


< OM2M
Revision as of 07:06, 4 May 2014 by (Talk | contribs) (Created page with "__TOC__ == Scls resource == The ''scls'' resource shall contain a collection of ''scl'' resources. {{CTable}} | Name || Type || Multiplicity || Create || Update ||Response...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scls resource

The scls resource shall contain a collection of scl resources.

Name Type Multiplicity Create Update Response
accessRightID URI 0..1 N/A O O
creationTime DateTime 1 N/A NP M
lastModifiedTime DateTime 1 N/A NP M
sclCollection NamedReferenceCollection 1 N/A NP M
subscriptionsReference AnyURI 1 N/A NP M
mgmtObjsReference AnyURI 1 N/A NP 0

Applications XSD schema

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="" targetNamespace="" xmlns:tns="">
  <include schemaLocation="common.xsd" />
  <element name="applications" type="tns:Applications" />
  <complexType name="Applications">
      <element ref="tns:accessRightID" minOccurs="0" />
      <element ref="tns:creationTime" minOccurs="0" />
      <element ref="tns:lastModifiedTime" minOccurs="0" />
      <!-- subresources -->
      <element ref="tns:applicationCollection" minOccurs="0" />
      <element ref="tns:applicationAnncCollection" minOccurs="0" />
      <element ref="tns:subscriptionsReference" minOccurs="0" />
      <element ref="tns:mgmtObjsReference" minOccurs="0" />
  <element name="applicationCollection" type="tns:NamedReferenceCollection" />
  <element name="applicationAnncCollection" type="tns:NamedReferenceCollection" />

Create Applications

This resource shall not be created via the API, it is created as a part of the parent resource.

Retrieve Applications

Example Request

GET /scl-id/applications
Authorization: Basic xxxxxxxxxxxxxxxxxxx

Example Response

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

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<om2m:applications xmlns:om2m="" xmlns:xmime="">
        <om2m:namedReference id="LAMP_0">gscl/applications/LAMP_0</om2m:namedReference>
        <om2m:namedReference id="LAMP_1">gscl/applications/LAMP_1</om2m:namedReference>
        <om2m:namedReference id="LAMP_ALL">gscl/applications/LAMP_ALL</om2m:namedReference>

Update Applications

Delete Applications

This resource shall not be deleted via the API. It is deleted when the parent resource is deleted.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.