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

Get subjects.

Get subjects.

Get subjects.

Query Parameters
    perPage integer

    Default value: 100

    page integer

    Default value: 1

    extract string[]
    sort string[]
    query string
    kind string
Responses

OK


Schema
    items object[]
  • Array [
  • builtin boolean
    createTime date-time
    description string
    domain string
    id string
    kind string
    name string
    roles object[]
  • Array [
  • createTime date-time
    id string
    project object
    createTime date-time
    description string
    id string
    labels object
    property name* string
    name string
    updateTime date-time
    role object
    applicableEnvironmentTypes string[]
    builtin boolean
    createTime date-time
    description string
    id string
    kind string
    policies object[]
  • Array [
  • actions string[]
    paths string[]
    resourceRefers string[]
    resources string[]
  • ]
  • updateTime date-time
    subject object
    builtin boolean
    createTime date-time
    description string
    domain string
    id string
    kind string
    name string
    roles object[]
  • Array [
  • createTime date-time
    id string
    project object
    createTime date-time
    description string
    id string
    labels object
    property name* string
    name string
    updateTime date-time
    role object
    applicableEnvironmentTypes string[]
    builtin boolean
    createTime date-time
    description string
    id string
    kind string
    policies object[]
  • Array [
  • actions string[]
    paths string[]
    resourceRefers string[]
    resources string[]
  • ]
  • updateTime date-time
    subject
  • ]
  • updateTime date-time
  • ]
  • updateTime date-time
  • ]
  • pagination object
    nextPage integer
    page integer
    partial integer
    perPage integer
    total integer
    totalPage integer
    type string
GET /v1/subjects

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
perPage — query
page — query
extract — query
sort — query
query — query
kind — query
curl / cURL
curl -L -X GET 'https://seal-io.github.io/v1/subjects' \
-H 'Accept: application/json'