v1

latestOpenAPI 3.1.0OCF Data Model License2026-07-17111127.4 KB
Resource Directory

Publish resource links to the Resource Directory.

Publish the Resource information for the first time in /oic/res. Updates to existing entries are not allowed. Appropriates parts of the information, i.e., Links of the published Resources will be discovered through /oic/res.

  1. When a Device first publishes a Link, the request payload to RD may include the Links without an "ins" Parameter.
  2. Upon granting the request, the RD assigns a unique instance value identifying the Link among all the Links it advertises and sends back the instance value in the "ins" Parameter in the Link to the publishing Device.
post/oic/rd

Response

Respond with the same schema as publish with the additional "ins" Parameter in the Link.