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

Extensions

get

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
authorstringOptional
descriptionstringOptional
django_appstringOptional
enabledbooleanOptional
formatstring · enumOptionalPossible values:
limitintegerOptional

Number of results to return per page.

namestringOptional
offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

searchstringOptional

A search term.

versionstringOptional
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/extensions/
GET /extensions/ 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,
      "name": "text",
      "description": "text",
      "version": "text",
      "author": "text",
      "enabled": true,
      "django_app": "text"
    }
  ]
}
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
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
Responses
201Success

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
post/extensions/
POST /extensions/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 104

"name='text'&description='text'&version='text'&author='text'&enabled=true&django_app='text'"
201Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "version": "text",
  "author": "text",
  "enabled": true,
  "django_app": "text"
}
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 extension.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
get/extensions/{id}/
GET /extensions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "version": "text",
  "author": "text",
  "enabled": true,
  "django_app": "text"
}
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 extension.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
put/extensions/{id}/
PUT /extensions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 104

"name='text'&description='text'&version='text'&author='text'&enabled=true&django_app='text'"
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "version": "text",
  "author": "text",
  "enabled": true,
  "django_app": "text"
}
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 extension.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

delete/extensions/{id}/
DELETE /extensions/{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 extension.

Query parameters
formatstring · enumOptionalPossible values:
Body

This serialize class provide the API representation

idintegerRead-onlyOptional
namestring · max: 255Optional
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Optional
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
patch/extensions/{id}/
PATCH /extensions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 104

"name='text'&description='text'&version='text'&author='text'&enabled=true&django_app='text'"
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "version": "text",
  "author": "text",
  "enabled": true,
  "django_app": "text"
}
get

This class will define the view behavior

Args: viewsets ([OCSVIewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

This serialize class provide the API representation

idintegerRead-onlyRequired
namestring · max: 255Required
descriptionstring · max: 255 · nullableOptional
versionstring · max: 255Optional
authorstring · max: 255 · nullableOptional
enabledbooleanOptional
django_appstring · max: 255Required
get/extensions/enabled/
GET /extensions/enabled/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "name": "text",
  "description": "text",
  "version": "text",
  "author": "text",
  "enabled": true,
  "django_app": "text"
}

Last updated