Vibengine
API Reference

Api keys

/api-keys

GET
/api-keys

Authorization

Auth01TokenAuth Auth02TeamAuth
Authorization<token>

In: header

X-Team-ID<token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://api.vibengine.app/api-keys"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "mask": {
      "prefix": "string",
      "valueLength": 0,
      "maskedValuePrefix": "string",
      "maskedValueSuffix": "string"
    },
    "createdAt": "2019-08-24T14:15:22Z",
    "createdBy": null,
    "lastUsed": "2019-08-24T14:15:22Z"
  }
]
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}

/api-keys

POST
/api-keys

Authorization

Auth01TokenAuth Auth02TeamAuth
Authorization<token>

In: header

X-Team-ID<token>

In: header

Request Body

application/json

body*unknown

Response Body

application/json

application/json

application/json

curl -X POST "https://api.vibengine.app/api-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "key": "string",
  "mask": {
    "prefix": "string",
    "valueLength": 0,
    "maskedValuePrefix": "string",
    "maskedValueSuffix": "string"
  },
  "name": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": null,
  "lastUsed": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}

/api-keys/{apiKeyID}

PATCH
/api-keys/{apiKeyID}

Authorization

Auth01TokenAuth Auth02TeamAuth
Authorization<token>

In: header

X-Team-ID<token>

In: header

Path Parameters

apiKeyID*string

Request Body

application/json

body*unknown

Response Body

application/json

application/json

application/json

curl -X PATCH "https://api.vibengine.app/api-keys/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
Empty
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}

/api-keys/{apiKeyID}

DELETE
/api-keys/{apiKeyID}

Authorization

Auth01TokenAuth Auth02TeamAuth
Authorization<token>

In: header

X-Team-ID<token>

In: header

Path Parameters

apiKeyID*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.vibengine.app/api-keys/string"
Empty
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}
{
  "code": 0,
  "message": "string"
}