跳到主要内容
版本:v0.4

Create a catalog of a project.

Create a catalog.

Create a catalog of a project.

Path Parameters
    project string required
Request Body required
    description string
    labels object
    property name* string
    name string required
    source string required
    type string required
Responses

Created


Schema
    createTime date-time
    description string
    id string
    labels object
    property name* string
    name string
    project object
    createTime date-time
    description string
    id string
    labels object
    property name* string
    name string
    updateTime date-time
    source string
    status object
    conditions object[]
  • Array [
  • lastUpdateTime date-time
    message string
    reason string required
    status string
    type string
  • ]
  • error boolean
    summaryStatus string
    summaryStatusMessage string
    transitioning boolean
    sync object
    failed integer required
    succeeded integer required
    time date-time required
    total integer required
    type string
    updateTime date-time
POST /v1/projects/:project/catalogs

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

Security Scheme
Username
Password
project — path required
Body required
{
"description": "string",
"labels": {},
"name": "string",
"source": "string",
"type": "string"
}
curl / cURL
curl -L -X POST 'https://seal-io.github.io/v1/projects/:project/catalogs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "string",
"labels": {},
"name": "string",
"source": "string",
"type": "string"
}'