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

Software Mapping

get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
formatstring · enumOptionalPossible values:
idintegerOptional
limitintegerOptional

Number of results to return per page.

major_versionintegerOptional
minor_versionintegerOptional
nameintegerOptional
offsetintegerOptional

The initial index from which to return the results.

orderingstringOptional

Which field to use when ordering the results.

patch_versionintegerOptional
publisherintegerOptional
searchstringOptional

A search term.

sectionintegerOptional
templateintegerOptional
versionintegerOptional
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/software_mapping/
GET /software_mapping/ 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,
      "template": 1,
      "section": 1,
      "name": 1,
      "publisher": 1,
      "version": 1,
      "major_version": 1,
      "minor_version": 1,
      "patch_version": 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

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
Responses
201Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
post/software_mapping/
POST /software_mapping/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 115

"template=1&section=1&name=1&publisher=1&version=1&major_version=1&minor_version=1&patch_version=1"
201Success
{
  "id": 1,
  "template": 1,
  "section": 1,
  "name": 1,
  "publisher": 1,
  "version": 1,
  "major_version": 1,
  "minor_version": 1,
  "patch_version": 1
}
get

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this software mapping.

Query parameters
formatstring · enumOptionalPossible values:
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
get/software_mapping/{id}/
GET /software_mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": 1,
  "template": 1,
  "section": 1,
  "name": 1,
  "publisher": 1,
  "version": 1,
  "major_version": 1,
  "minor_version": 1,
  "patch_version": 1
}
put

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this software mapping.

Query parameters
formatstring · enumOptionalPossible values:
Body

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
put/software_mapping/{id}/
PUT /software_mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 115

"template=1&section=1&name=1&publisher=1&version=1&major_version=1&minor_version=1&patch_version=1"
200Success
{
  "id": 1,
  "template": 1,
  "section": 1,
  "name": 1,
  "publisher": 1,
  "version": 1,
  "major_version": 1,
  "minor_version": 1,
  "patch_version": 1
}
delete

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this software mapping.

Query parameters
formatstring · enumOptionalPossible values:
Responses
204

No response body

No content

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

No response body

No content

patch

This class will define the general view behavior for the framework

Args: viewsets ([ModelViewSet])

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this software mapping.

Query parameters
formatstring · enumOptionalPossible values:
Body

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyOptional
templateintegerOptional
sectionintegerOptional
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
Responses
200Success

Mixin to dynamically expand nested fields based on the "expand" query parameter.

To use, add an expandable_fields dictionary in your serializer's Meta:

expandable_fields = {
    "some_relation": SomeNestedSerializer,
    "other_relation": OtherNestedSerializer,
}

The mixin will:

  • Expand all fields and childs if expand="*"
  • Expand fields provided in a comma separated list (expand=field1,field2)
  • or return the pks for the relation
idintegerRead-onlyRequired
templateintegerRequired
sectionintegerRequired
nameinteger · nullableOptional
publisherinteger · nullableOptional
versioninteger · nullableOptional
major_versioninteger · nullableOptional
minor_versioninteger · nullableOptional
patch_versioninteger · nullableOptional
patch/software_mapping/{id}/
PATCH /software_mapping/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 115

"template=1&section=1&name=1&publisher=1&version=1&major_version=1&minor_version=1&patch_version=1"
200Success
{
  "id": 1,
  "template": 1,
  "section": 1,
  "name": 1,
  "publisher": 1,
  "version": 1,
  "major_version": 1,
  "minor_version": 1,
  "patch_version": 1
}

Last updated