Edit a resource.
PATCH
/api/resources/{resourceId}
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
TypeAPI Key (header: X-CSRF-Token)
Parameters
Path Parameters
resourceId*
Typestring
RequiredPattern
"[1-9][0-9]*"
Request Body
application/json
JSON
{
"name": "Programming",
"description": "Proficient in PHP and Vue",
"isPrivate": false,
"openness": 3,
"images": [
"string"
]
}
Responses
Success
application/json
JSON
{
"id": 0,
"name": "string",
"description": "string",
"user": {
"id": 0,
"name": "string",
"avatar": "string",
"isSleeping": true
},
"isHomeRegion": true,
"isUserActive": true,
"isPrivate": true,
"isFavorite": true,
"openness": 0
}