Summary
Get Repository Configurations
Description
Get all the Prebuilt Repository configurations
Route
GET /prebuilts-repository/configs
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryOptions |
object |
yes |
Options for query parameters. |
Copied to Clipboard
{
"queryOptions": {
"contains": "redis",
"containsField": "name",
"equals": "redis",
"equalsField": "name",
"startsWith": "redis",
"startsWithField": "name",
"sort": "name",
"order": 1
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"queryOptions": {
"title": "queryOptions",
"type": "object",
"properties": {
"contains": {
"type": "string",
"examples": [
"redis"
]
},
"containsField": {
"type": "string",
"examples": [
"name"
]
},
"equals": {
"type": "string",
"examples": [
"redis"
]
},
"equalsField": {
"type": "string",
"examples": [
"name"
]
},
"startsWith": {
"type": "string",
"examples": [
"redis"
]
},
"startsWithField": {
"type": "string",
"examples": [
"name"
]
},
"sort": {
"$ref": "common-schema#/definitions/sort"
},
"order": {
"$ref": "common-schema#/definitions/order"
}
}
}
},
"required": [
"queryOptions"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
Contains an array of prebuilts and the total in the response. |
Copied to Clipboard
{
"results": [
{
"name": "@itentialopensource/cisco-nx-upgrade",
"enabled": false,
"type": "gitlab",
"hostname": "gitlab.com",
"path": "itentialopensource/pre-built-automations",
"credentials": {
"token": "uTc_P4pnMAEsLbQHmyOt"
}
},
{
"name": "@itentialopensource/aggregate-functions-for-arrays",
"enabled": false,
"type": "gitlab",
"hostname": "gitlab.com",
"path": "itentialopensource/pre-built-automations",
"credentials": {
"token": "uTc_P4pnMAEsLbQHmyOt"
}
}
],
"total": 20
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"required": [
"results",
"total"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"$ref": "prebuilts-schema#/definitions/name"
},
"enabled": {
"$ref": "repository-schema#/definitions/enabled"
},
"type": {
"$ref": "repository-schema#/definitions/type"
},
"hostname": {
"$ref": "repository-schema#/definitions/hostname"
},
"path": {
"$ref": "repository-schema#/definitions/path"
},
"credentials": {
"$ref": "repository-schema#/definitions/credentials"
}
}
}
},
"total": {
"$ref": "common-schema#/definitions/total"
}
}
}