Views

Create a view

Creates a new view for a document. This is documented in the interests of thoroughness however it is recommended that views are not created from outside of the Outline UI.

post/views.create

Request body

documentIdstring uuid required

Response

OK

Example response

{
  "data": {
    "count": 22,
    "user": {
      "name": "Jane Doe"
    }
  }
}

Changes

Changed in 1 of the 6 revisions of this API.6

    • added the optional property data to the response with the 401 status

      response-optional-property-added

    • added the optional property data to the response with the 403 status

      response-optional-property-added

    • added the optional property message to the response with the 401 status

      response-optional-property-added

    • added the optional property message to the response with the 403 status

      response-optional-property-added

    • added the optional property status to the response with the 401 status

      response-optional-property-added

    • added the optional property status to the response with the 403 status

      response-optional-property-added