Responses
-
The resource created successfully
-
The client request has not been completed because it lacks valid authentication credentials for the requested resource.
-
The client does not have access rights to the content.
-
The request method is known by the server but is not supported by the target resource.
POST
/api/v1.0/docs
curl \
--request POST 'https://openapi.niftypm.com/api/v1.0/docs' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","parent_doc_id":"string","project_id":"string","googleAccessToken":"string","type":"string","subtype":"string","private":true,"access_type":"public","content":{},"external_id":"string","folder_id":"string","folder_stack":["string"],"order":42.0}'
Request examples
{
"name": "string",
"parent_doc_id": "string",
"project_id": "string",
"googleAccessToken": "string",
"type": "string",
"subtype": "string",
"private": true,
"access_type": "public",
"content": {},
"external_id": "string",
"folder_id": "string",
"folder_stack": [
"string"
],
"order": 42.0
}
Response examples (201)
{
"message": "string",
"doc_id": "string",
"folder": "string"
}