Configs

get
Authorizations
Path parameters
keystringRequired
Responses
200
OK
*/*
get
GET /configs/{key} HTTP/1.1
Host: api
Accept: */*
200

OK

{
  "code": 1,
  "message": "text",
  "data": {
    "id": "text",
    "createdBy": "text",
    "key": "text",
    "value": {}
  },
  "success": true
}
post
Authorizations
Path parameters
keystringRequired
Body
valuestringOptional
Responses
200
OK
*/*
post
POST /configs/{key} HTTP/1.1
Host: api
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "value": "text"
}
200

OK

{
  "code": 1,
  "message": "text",
  "data": {
    "id": "text",
    "createdBy": "text",
    "key": "text",
    "value": {}
  },
  "success": true
}
get
Authorizations
Responses
200
OK
*/*
get
GET /configs HTTP/1.1
Host: api
Accept: */*
200

OK

{
  "code": 1,
  "message": "text",
  "data": {
    "authConfigs": [
      {
        "id": "text",
        "source": "text",
        "sourceName": "text",
        "enable": true,
        "enableRegister": true,
        "authType": "text"
      }
    ],
    "workspaceMode": "SAAS",
    "selfDomain": true,
    "cookieName": "text",
    "cloudHosting": true
  },
  "success": true
}