Skip to content

Add a new resource for the logged in user.

POST
/api/resources

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

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
}

Playground

Authorization
Body

Samples

cURL
JavaScript
PHP
Python