API Descriptions

POSThttps://api.laminar.run/api-descriptions
Body
url*string
methodType*enum
GETPOSTPUTDELETE
authCredentialId*integer (int64)
workspaceId*integer (int64)
name*string
description*string
Response

OK

Body
idinteger (int64)
urlstring
methodTypeenum
GETPOSTPUTDELETE
authCredentialsAuthCredentials (object)
namestring
descriptionstring
Request
const response = await fetch('https://api.laminar.run/api-descriptions', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "description": "text",
      "methodType": "GET",
      "name": "text",
      "url": "text"
    }),
});
const data = await response.json();
Response
{
  "url": "text",
  "methodType": "GET",
  "authCredentials": {
    "name": "text",
    "authType": "text"
  },
  "name": "text",
  "description": "text"
}

PUThttps://api.laminar.run/api-descriptions
Body
apiDescriptionId*integer (int64)
urlstring
methodTypeenum
GETPOSTPUTDELETE
authCredentialIdinteger (int64)
namestring
descriptionstring
Response

OK

Body
idinteger (int64)
urlstring
methodTypeenum
GETPOSTPUTDELETE
authCredentialsAuthCredentials (object)
namestring
descriptionstring
Request
const response = await fetch('https://api.laminar.run/api-descriptions', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "url": "text",
  "methodType": "GET",
  "authCredentials": {
    "name": "text",
    "authType": "text"
  },
  "name": "text",
  "description": "text"
}

GEThttps://api.laminar.run/api-descriptions/{id}
Path parameters
id*integer (int64)
Response

OK

Body
idinteger (int64)
urlstring
methodTypeenum
GETPOSTPUTDELETE
authCredentialsAuthCredentials (object)
namestring
descriptionstring
Request
const response = await fetch('https://api.laminar.run/api-descriptions/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "url": "text",
  "methodType": "GET",
  "authCredentials": {
    "name": "text",
    "authType": "text"
  },
  "name": "text",
  "description": "text"
}

DELETEhttps://api.laminar.run/api-descriptions/{id}
Path parameters
id*integer (int64)
Response

OK

Request
const response = await fetch('https://api.laminar.run/api-descriptions/{id}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();