Publish the specified movement

POST /api/share/movement

Creates a new SharedObject for the specified movement identifier, which means it can be accessed without being logged to the system

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

application/json

Body

Responses

POST /api/share/movement
curl \
 -X POST http://127.0.0.1:8080/api/share/movement \
 -H "Content-Type: application/json" \
 -d '{"reference_id":42}'
Request examples
# Headers

# Payload
{
  "reference_id": 42
}
Response examples (200)
{"enabled"=>true, "id"=>"string", "object_type"=>"ATTACHMENT", "reference_id"=>42}