Get resource definitions.
Get resource definitions.
Get resource definitions.
Query Parameters
Default value: 100
Default value: 1
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 415
- 422
- 429
- 500
- 503
- default
OK
Schema
items object[]
pagination object
{
"items": [
{
"builtin": true,
"createTime": "2024-03-21T10:37:39.505Z",
"description": "string",
"id": "string",
"labels": {},
"matchingRules": [
{
"attributes": {},
"createTime": "2024-03-21T10:37:39.506Z",
"id": "string",
"name": "string",
"selector": {
"environmentLabels": {},
"environmentNames": [
"string"
],
"environmentTypes": [
"string"
],
"projectLabels": {},
"projectNames": [
"string"
],
"resourceLabels": {}
},
"template": {
"createTime": "2024-03-21T10:37:39.506Z",
"id": "string",
"name": "string",
"project": {
"createTime": "2024-03-21T10:37:39.506Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-21T10:37:39.506Z"
},
"schema": {
"": {
"openAPISchema": {
"components": {
"callbacks": {},
"examples": {},
"headers": {},
"links": {},
"parameters": {},
"requestBodies": {},
"responses": {},
"schemas": {},
"securitySchemes": {}
},
"externalDocs": {
"description": "string",
"url": "string"
},
"info": {
"contact": {
"email": "string",
"name": "string",
"url": "string"
},
"description": "string",
"license": {
"name": "string",
"url": "string"
},
"termsOfService": "string",
"title": "string",
"version": "string"
},
"openapi": "string",
"security": [
{}
],
"servers": [
{
"description": "string",
"url": "string",
"variables": {}
}
],
"tags": [
{
"description": "string",
"externalDocs": {
"description": "string",
"url": "string"
},
"name": "string"
}
]
}
},
"readme": "string",
"requiredProviders": [
{
"name": "string"
}
]
},
"source": "string",
"template": {
"catalog": {
"createTime": "2024-03-21T10:37:39.506Z",
"description": "string",
"filterPattern": "string",
"id": "string",
"labels": {},
"name": "string",
"project": {
"createTime": "2024-03-21T10:37:39.506Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-21T10:37:39.506Z"
},
"source": "string",
"status": {
"conditions": [
{
"lastUpdateTime": "2024-03-21T10:37:39.506Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"error": true,
"inactive": true,
"summaryStatus": "string",
"summaryStatusMessage": "string",
"transitioning": true,
"warning": true
},
"sync": {
"failed": 0,
"succeeded": 0,
"time": "2024-03-21T10:37:39.506Z",
"total": 0
},
"type": "string",
"updateTime": "2024-03-21T10:37:39.506Z"
},
"createTime": "2024-03-21T10:37:39.506Z",
"description": "string",
"icon": "string",
"id": "string",
"labels": {},
"name": "string",
"project": {
"createTime": "2024-03-21T10:37:39.506Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-21T10:37:39.506Z"
},
"source": "string",
"status": {
"conditions": [
{
"lastUpdateTime": "2024-03-21T10:37:39.506Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"error": true,
"inactive": true,
"summaryStatus": "string",
"summaryStatusMessage": "string",
"transitioning": true,
"warning": true
},
"updateTime": "2024-03-21T10:37:39.506Z"
},
"uiSchema": {
"openAPISchema": {
"components": {
"callbacks": {},
"examples": {},
"headers": {},
"links": {},
"parameters": {},
"requestBodies": {},
"responses": {},
"schemas": {},
"securitySchemes": {}
},
"externalDocs": {
"description": "string",
"url": "string"
},
"info": {
"contact": {
"email": "string",
"name": "string",
"url": "string"
},
"description": "string",
"license": {
"name": "string",
"url": "string"
},
"termsOfService": "string",
"title": "string",
"version": "string"
},
"openapi": "string",
"security": [
{}
],
"servers": [
{
"description": "string",
"url": "string",
"variables": {}
}
],
"tags": [
{
"description": "string",
"externalDocs": {
"description": "string",
"url": "string"
},
"name": "string"
}
]
}
},
"updateTime": "2024-03-21T10:37:39.506Z",
"version": "string"
}
}
],
"name": "string",
"schema": {
"openAPISchema": {
"components": {
"callbacks": {},
"examples": {},
"headers": {},
"links": {},
"parameters": {},
"requestBodies": {},
"responses": {},
"schemas": {},
"securitySchemes": {}
},
"externalDocs": {
"description": "string",
"url": "string"
},
"info": {
"contact": {
"email": "string",
"name": "string",
"url": "string"
},
"description": "string",
"license": {
"name": "string",
"url": "string"
},
"termsOfService": "string",
"title": "string",
"version": "string"
},
"openapi": "string",
"security": [
{}
],
"servers": [
{
"description": "string",
"url": "string",
"variables": {}
}
],
"tags": [
{
"description": "string",
"externalDocs": {
"description": "string",
"url": "string"
},
"name": "string"
}
]
}
},
"type": "string",
"uiSchema": {
"openAPISchema": {
"components": {
"callbacks": {},
"examples": {},
"headers": {},
"links": {},
"parameters": {},
"requestBodies": {},
"responses": {},
"schemas": {},
"securitySchemes": {}
},
"externalDocs": {
"description": "string",
"url": "string"
},
"info": {
"contact": {
"email": "string",
"name": "string",
"url": "string"
},
"description": "string",
"license": {
"name": "string",
"url": "string"
},
"termsOfService": "string",
"title": "string",
"version": "string"
},
"openapi": "string",
"security": [
{}
],
"servers": [
{
"description": "string",
"url": "string",
"variables": {}
}
],
"tags": [
{
"description": "string",
"externalDocs": {
"description": "string",
"url": "string"
},
"name": "string"
}
]
}
},
"updateTime": "2024-03-21T10:37:39.506Z"
}
],
"pagination": {
"nextPage": 0,
"page": 0,
"partial": 0,
"perPage": 0,
"total": 0,
"totalPage": 0
},
"type": "string"
}
Bad Request
Schema
Default value: 400
Default value: Bad Request
{
"message": "string",
"status": 400,
"statusText": "Bad Request"
}
Unauthorized
Schema
Default value: 401
Default value: Unauthorized
{
"message": "string",
"status": 401,
"statusText": "Unauthorized"
}
Forbidden
Schema
Default value: 403
Default value: Forbidden
{
"message": "string",
"status": 403,
"statusText": "Forbidden"
}
Not Found
Schema
Default value: 404
Default value: Not Found
{
"message": "string",
"status": 404,
"statusText": "Not Found"
}
Request Timeout
Schema
Default value: 408
Default value: Request Timeout
{
"message": "string",
"status": 408,
"statusText": "Request Timeout"
}
Conflict
Schema
Default value: 409
Default value: Conflict
{
"message": "string",
"status": 409,
"statusText": "Conflict"
}
Unsupported Media Type
Schema
Default value: 415
Default value: Unsupported Media Type
{
"message": "string",
"status": 415,
"statusText": "Unsupported Media Type"
}
Unprocessable Entity
Schema
Default value: 422
Default value: Unprocessable Entity
{
"message": "string",
"status": 422,
"statusText": "Unprocessable Entity"
}
Too Many Requests
Schema
Default value: 429
Default value: Too Many Requests
{
"message": "string",
"status": 429,
"statusText": "Too Many Requests"
}
Internal Server Error
Schema
Default value: 500
Default value: Internal Server Error
{
"message": "string",
"status": 500,
"statusText": "Internal Server Error"
}
Service Unavailable
Schema
Default value: 503
Default value: Service Unavailable
{
"message": "string",
"status": 503,
"statusText": "Service Unavailable"
}
GET /v1/resource-definitions
Authorization
name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic
Request
Request
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'
curl -L -X GET 'https://seal-io.github.io/v1/resource-definitions' \
-H 'Accept: application/json'