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

Log for a resource component that belongs to an environment of a project.

Log for a resource component.

Log for a resource component that belongs to an environment of a project.

Path Parameters
    project string required
    environment string required
    resource string required
    resourcecomponent string required
Query Parameters
    key string required
    timestamps boolean
    tailLines int64
    sinceSeconds int64
    previous boolean
    watch boolean
Responses

OK


Schema
    message string
    status integer

    Default value: 200

    statusText string

    Default value: OK

GET /v1/projects/:project/environments/:environment/resources/:resource/components/:resourcecomponent/log

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
environment — path required
resource — path required
resourcecomponent — path required
key — query required
timestamps — query
tailLines — query
sinceSeconds — query
previous — query
watch — query
curl / cURL
curl -L -X GET 'https://seal-io.github.io/v1/projects/:project/environments/:environment/resources/:resource/components/:resourcecomponent/log' \
-H 'Accept: application/json'