v1

latestOpenAPI 3.0.12026-07-24283883639.5 KB
Content

Assign Skills to Content

This endpoint adds one or more skills to existing content. On a successful add, it returns a 201 Created response. <h3>Required Scope</h3>content:write

post/api/v2/content/{contentId}/relationships/skills

Path parameters

contentIdstring required

The ID of the content to add skills to.

Request body

Example request

{
  "data": [
    {
      "type": "skills"
    }
  ]
}

Response

Success

Example response

{
  "links": {
    "self": "https://api.betatest.degreed.com/api/v2/content/zrZWkBm/skills"
  },
  "data": [
    {
      "type": "skills",
      "id": "kyj",
      "meta": {
        "skill-proficiency": 2
      }
    }
  ]
}