resources
Post a resource
Changed onAllows a logged in user to post a resource.
post/api/v1/resources
Request
- The document declares no server URL.
- Auth: API key in cookie token
Request body
Example request
{
"title": "My Resource in Javascript",
"description": "Lorem ipsum javascript",
"url": "https://tutorials.cat/learn/javascript",
"categoryId": "clocr0bi20000h8vwipfbazso",
"topics": [
"clocr0bpv000ah8vwnfvpo24p"
]
}Response
Resource has been posted
Changes
- info
api operation id
postResourceswas added
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added to the response body
anyOflist for the response status - info
removed the non-success response with the status
- breaking