Download OpenAPI specification:Download
This reference describes the BIG-IP DO API and available endpoints. For more details, see https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/using-do.html.
Retrieve the status of the most recently deployed configuration request.
show | string Value: "full" Retrieve original and current configuration. |
statusCodes | string Default: "legacy" Enum: "legacy" "experimental" Determines how BIG-IP DO returns HTTP status codes.
|
{- "id": "c098f4f1-d2a4-4c53-8728-7d1ce5567a4",
- "result": {
- "class": "Result",
- "code": 200,
- "status": "OK",
- "message": "success"
}, - "declaration": {
- "class": "Device",
- "schemaVersion": "1.0.0",
- "async": true,
- "Common": {
- "class": "Tenant",
- "myLicense": {
- "class": "License",
- "licenseType": "regKey",
- "regKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE"
}
}
}
}
Configure the device per the declaration.
BIG-IP DO Declaration.
schemaVersion required | string Enum: "1.43.0" "1.42.0" "1.41.0" "1.40.0" "1.39.0" "1.38.0" "1.37.0" "1.36.0" "1.35.0" "1.34.0" "1.33.0" "1.32.0" "1.31.0" "1.30.0" "1.29.0" "1.28.0" "1.27.0" "1.26.0" "1.25.0" "1.24.0" "1.23.0" "1.22.0" "1.21.0" "1.20.0" "1.19.0" "1.18.0" "1.17.0" "1.16.0" "1.15.0" "1.14.0" "1.13.0" "1.12.0" "1.11.1" "1.11.0" "1.10.0" "1.9.0" "1.8.0" "1.7.0" "1.6.1" "1.6.0" "1.5.1" "1.5.0" "1.4.1" "1.4.0" "1.3.0" "1.2.0" "1.1.0" "1.0.0" Version of BIG-IP Declarative Onboarding schema this declaration uses. |
class required | string Indicates this JSON document is a Device declaration Value: "Device" |
$schema | string <uri> URL of schema against which to validate. Used by validation in your local environment only (via Visual Studio Code, for example) |
async | boolean Default: false Tells the API to return a 202 HTTP status before processing is complete. User must then poll for status. |
webhook | string <uri> URL to post results to |
label | string Optional friendly name for this declaration |
Array of objects Credentials which can be referenced from other parts of the declaration or the remote wrapper. | |
object Default: {"class":"Tenant"} Special tenant Common holds objects other tenants can share | |
object Options to control configuration process |
{- "schemaVersion": "1.43.0",
- "class": "Device",
- "async": false,
- "label": "string",
- "Credentials": [
- {
- "username": "string",
- "password": "string",
- "tokens": { }
}
], - "Common": {
- "class": "Tenant"
}, - "controls": {
- "class": "Controls",
- "dryRun": false,
- "trace": false,
- "traceResponse": false,
- "userAgent": "string"
}
}
{- "id": "c098f4f1-d2a4-4c53-8728-7d1ce5567a4",
- "result": {
- "class": "Result",
- "code": 200,
- "status": "OK",
- "message": "success"
}, - "declaration": {
- "class": "Device",
- "schemaVersion": "1.0.0",
- "async": true,
- "Common": {
- "class": "Tenant",
- "myLicense": {
- "class": "License",
- "licenseType": "regKey",
- "regKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE"
}
}
}
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "result": {
- "class": "Result",
- "code": 0,
- "status": "OK",
- "message": "string",
- "errors": [
- "string"
]
}, - "Common": { }
}
]
Retrieve the original configuration of a device by machine ID.
machineId required | string <uuid> The machine ID that is returned by the |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "result": {
- "class": "Result",
- "code": 0,
- "status": "OK",
- "message": "string",
- "errors": [
- "string"
]
}, - "Common": { }
}
Delete the stored original configuration by config ID. This can be used in some cases when BIG-IP DO has gotten into an unusable state.
configId required | string <uuid> The config ID that was returned by a GET to |
[ ]
This returns version and release information for the instance of BIG-IP DO you are using. It also shows current and minimum required versions of the BIG-IP DO schema.
{- "id": 0,
- "result": {
- "class": "Result,",
- "code": "200,",
- "status": "OK,",
- "message": "",
- "errors": [ ]
}, - "version": "1.30.0",
- "release": 2,
- "schemaCurrent": "1.30.0",
- "schemaMinimum": "1.0.0"
}
Retrieve the current configuration of a device.
targetHost | string Default: "localhost" The IP address or domain name of the host from which to retrieve the current configuration. |
targetPort | integer [ 0 .. 65535 ] The port that is used with the targetHost to establish a connection to the device. By default, BIG-IP DO tries to establish a connection to the device using ports 443 and 8443. |
targetUsername | string Default: "admin" The username for the targetHost. |
targetPassword | string Default: "admin" The password for the targetHost. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "result": {
- "class": "Result",
- "code": 0,
- "status": "OK",
- "message": "string",
- "errors": [
- "string"
]
}, - "declaration": {
- "class": "DO",
- "declaration": {
- "schemaVersion": "1.43.0",
- "class": "Device",
- "async": false,
- "label": "string",
- "Credentials": [
- {
- "username": "string",
- "password": "string",
- "tokens": { }
}
], - "Common": {
- "class": "Tenant"
}, - "controls": {
- "class": "Controls",
- "dryRun": false,
- "trace": false,
- "traceResponse": false,
- "userAgent": "string"
}, - "result": {
- "class": "Result",
- "code": "OK",
- "message": "string"
}
}
}
}
Retrieve the status of all previously deployed configurations.
[- {
- "id": "c098f4f1-d2a4-4c53-8728-7d1ce5567a4",
- "result": {
- "class": "Result",
- "code": 200,
- "status": "OK",
- "message": "success"
}, - "declaration": {
- "class": "Device",
- "schemaVersion": "1.0.0",
- "async": true,
- "Common": {
- "class": "Tenant",
- "myLicense": {
- "class": "License",
- "licenseType": "regKey",
- "regKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE"
}
}
}
}
]
Retrieve the status of a previously deployed configuration by task ID.
taskId required | string <uuid> The task ID. |
{- "id": "c098f4f1-d2a4-4c53-8728-7d1ce5567a4",
- "result": {
- "class": "Result",
- "code": 200,
- "status": "OK",
- "message": "success"
}, - "declaration": {
- "class": "Device",
- "schemaVersion": "1.0.0",
- "async": true,
- "Common": {
- "class": "Tenant",
- "myLicense": {
- "class": "License",
- "licenseType": "regKey",
- "regKey": "AAAAA-BBBBB-CCCCC-DDDDD-EEEEEEE"
}
}
}
}