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.
Difference between revisions of "OM2M/ContentInstance"
< OM2M
(→ContentInstance create) |
(→ContentInstance representation) |
||
Line 13: | Line 13: | ||
|} | |} | ||
− | == | + | == contentInstance representation == |
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 42: | Line 42: | ||
</schema> | </schema> | ||
</source> | </source> | ||
+ | |||
== contentInstance create == | == contentInstance create == | ||
Revision as of 12:35, 17 April 2014
Contents
contentInstance resource
The contentInstance resource represents a data instance in the container.
The contentInstance resource cannot be modified once created.
A contentInstance may be deleted explicitly or it may be deleted by the platform.
Name | Type | Multiplicity | Create | Update | Response |
appId | AnyURI | 1 | O | NP | M |
contentInstance representation
<?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" xmlns:xmlmime="http://www.w3.org/2005/05/xmlmime"> <include schemaLocation="common.xsd" /> <import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="xmlmime.xsd" /> <element name="contentInstance" type="tns:ContentInstance" /> <complexType name="ContentInstance"> <all> <element ref="tns:creationTime" minOccurs="0" /> <element ref="tns:lastModifiedTime" minOccurs="0" /> <element ref="tns:delayTolerance" minOccurs="0" /> <element ref="tns:contentTypes" minOccurs="0" /> <element ref="tns:contentSize" minOccurs="0" /> <element ref="tns:content" minOccurs="0" /> </all> <attribute ref="tns:id" /> <attribute name="href" type="anyURI" /> </complexType> <element name="content" type="xmlmime:base64Binary" /> <element name="contentSize" type="long" /> <element name="contentTypes" type="tns:ContentTypes" /> <complexType name="ContentTypes"> <sequence> <element ref="tns:contentType" maxOccurs="unbounded" /> </sequence> </complexType> </schema>