Deployment
View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /deployment/actions/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"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,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serialize class provide the API representation
set- Set
This serialize class provide the API representation
set- Set
POST /deployment/actions/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 118
"rule=1&priority=1&action='set'&content_type=1&object_id=1&object_slug='text'&field='text'&value=null"{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this deployment action.
This serialize class provide the API representation
set- Set
GET /deployment/actions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this deployment action.
This serialize class provide the API representation
set- Set
This serialize class provide the API representation
set- Set
PUT /deployment/actions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 118
"rule=1&priority=1&action='set'&content_type=1&object_id=1&object_slug='text'&field='text'&value=null"{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this deployment action.
No response body
No content
DELETE /deployment/actions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this deployment action.
This serialize class provide the API representation
set- Set
This serialize class provide the API representation
set- Set
PATCH /deployment/actions/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 118
"rule=1&priority=1&action='set'&content_type=1&object_id=1&object_slug='text'&field='text'&value=null"{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
WIN- WindowsLIN- LinuxMAC- Mac
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /deployment/packages/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"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",
"date_created": "2026-01-01T00:00:00.000Z",
"target_os": "WIN",
"actions_list": [
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
],
"result": [
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
POST /deployment/packages/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 277
"name='text'&description='text'&target_os='WIN'&actions_list=[{'rule':1,'priority':1,'action':'set','content_type':1,'object_id':1,'object_slug':'text','field':'text','value':null}]&result=[{'package':1,'asset':1,'group':1,'name':'text','status':0,'comment':'text'}]"{
"id": 1,
"name": "text",
"description": "text",
"date_created": "2026-01-01T00:00:00.000Z",
"target_os": "WIN",
"actions_list": [
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
],
"result": [
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this package.
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
GET /deployment/packages/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "text",
"description": "text",
"date_created": "2026-01-01T00:00:00.000Z",
"target_os": "WIN",
"actions_list": [
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
],
"result": [
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this package.
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
PUT /deployment/packages/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 277
"name='text'&description='text'&target_os='WIN'&actions_list=[{'rule':1,'priority':1,'action':'set','content_type':1,'object_id':1,'object_slug':'text','field':'text','value':null}]&result=[{'package':1,'asset':1,'group':1,'name':'text','status':0,'comment':'text'}]"{
"id": 1,
"name": "text",
"description": "text",
"date_created": "2026-01-01T00:00:00.000Z",
"target_os": "WIN",
"actions_list": [
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
],
"result": [
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this package.
No response body
No content
DELETE /deployment/packages/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this package.
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
This serializer class provides the API representation
WIN- WindowsLIN- LinuxMAC- Mac
PATCH /deployment/packages/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 277
"name='text'&description='text'&target_os='WIN'&actions_list=[{'rule':1,'priority':1,'action':'set','content_type':1,'object_id':1,'object_slug':'text','field':'text','value':null}]&result=[{'package':1,'asset':1,'group':1,'name':'text','status':0,'comment':'text'}]"{
"id": 1,
"name": "text",
"description": "text",
"date_created": "2026-01-01T00:00:00.000Z",
"target_os": "WIN",
"actions_list": [
{
"id": 1,
"rule": 1,
"priority": 1,
"action": "set",
"content_type": 1,
"object_id": 1,
"object_slug": "text",
"field": "text",
"value": null
}
],
"result": [
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
A search term.
0- Sucess1- Waiting notification2- Notified3- Error
123http://api.example.org/accounts/?offset=400&limit=100http://api.example.org/accounts/?offset=200&limit=100GET /deployment/results/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"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,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}
]
}Handle post request, suitable for single and multi creation
Args: request ([dict]): can be dict or list of dicts
Returns: [type]: [description]
Token-based authentication with required prefix "Token"
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
POST /deployment/results/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"package=1&asset=1&group=1&name='text'&status=0&comment='text'"{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this result.
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
GET /deployment/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this result.
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
PUT /deployment/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"package=1&asset=1&group=1&name='text'&status=0&comment='text'"{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this result.
No response body
No content
DELETE /deployment/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
View behavior
Args: viewsets ([OCSVIewSet])
Token-based authentication with required prefix "Token"
A unique integer value identifying this result.
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
This serializer class provides the API representation
0- Sucess1- Waiting notification2- Notified3- Error
PATCH /deployment/results/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"package=1&asset=1&group=1&name='text'&status=0&comment='text'"{
"id": 1,
"package": 1,
"asset": 1,
"group": 1,
"name": "text",
"status": 0,
"comment": "text",
"date_created": "2026-01-01T00:00:00.000Z"
}Last updated

