For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Notes

get

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
content_typeintegerOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

object_idintegerOptional
object_slugstringOptional
offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

searchstringOptional

A search term.

Responses
200Success
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=400&limit=100
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?offset=200&limit=100
get/notes/
GET /notes/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 1,
      "text": "text",
      "creator": 1,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "object_slug": "text",
      "content_type": 1,
      "object_id": 1
    }
  ]
}
post

Handle post request, suitable for single and multi creation

Args: request ([dict]): can be dict or list of dicts

Returns: [type]: [description]

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
Responses
201Success

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
post/notes/
POST /notes/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 62

"text='text'&creator=1&object_slug='text'&object_id=1"
201Success
{
  "id": 1,
  "text": "text",
  "creator": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "object_slug": "text",
  "content_type": 1,
  "object_id": 1
}
get

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this note.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
get/notes/{id}/
GET /notes/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "text": "text",
  "creator": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "object_slug": "text",
  "content_type": 1,
  "object_id": 1
}
put

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this note.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
put/notes/{id}/
PUT /notes/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 62

"text='text'&creator=1&object_slug='text'&object_id=1"
200Success
{
  "id": 1,
  "text": "text",
  "creator": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "object_slug": "text",
  "content_type": 1,
  "object_id": 1
}
delete

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this note.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/notes/{id}/
DELETE /notes/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

patch

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this note.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation

idintegerRead-onlyOptional
textstringOptional
creatorintegerOptional
created_atstring · date-timeRead-onlyOptional
updated_atstring · date-timeRead-onlyOptional
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyOptional
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
textstringRequired
creatorintegerRequired
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
object_slugstring · max: 100 · nullableOptional
content_typeinteger · nullableRead-onlyRequired
object_idinteger · int64 · max: 9223372036854776000 · nullableOptional
patch/notes/{id}/
PATCH /notes/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 62

"text='text'&creator=1&object_slug='text'&object_id=1"
200Success
{
  "id": 1,
  "text": "text",
  "creator": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "object_slug": "text",
  "content_type": 1,
  "object_id": 1
}

Last updated