resources
Get resources by logged in user
Changed onReturns all the posted resources by a logged in user. In addition, if categorySlug query provided, returns only the resources posted in that category.
get/api/v1/resources/me
Request
- The document declares no server URL.
- Auth: API key in cookie token
Query parameters
categorySlugstring
Example:react
Response
All resources posted by user are returned.
Example response
{
"resources": [
{
"title": "My Resource in Javascript",
"slug": "my-resource-in-javascript",
"description": "Lorem ipsum javascript",
"url": "https://tutorials.cat/learn/javascript",
"categoryId": "clocr0bi20000h8vwipfbazso",
"topics": [
{
"topic": {
"name": "React Props",
"slug": "react-props"
}
}
],
"voteCount": {
"upvote": 14,
"downvote": 2,
"total": 12
}
}
]
}Changes
- info
api operation id
listUserMeResourceswas added
- info
- breaking
removed the required property
//from the response with the status - info
added the required property
///to the response with the status
- breaking