---
title: "Publish resource links to the Resource Directory."
method: POST
path: "/oic/rd"
tags: ["Resource Directory"]
---

# Publish resource links to the Resource Directory.

`POST /oic/rd`

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.

## Response `200`

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

---

[API](https://skmtc.dev/plgd-dev/apis/coap-gateway.md) · [All operations](https://skmtc.dev/plgd-dev/apis/coap-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/coap-gateway/revisions/65b2362bb16f/schema)
