Projects

List Projects

get
Responses
200

OK

application/json
get
GET /v1/accounts HTTP/1.1
Host: 
Accept: */*
{
  "accounts": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "alternateSecretKeys": [
          "text"
        ],
        "parameters": [
          {
            "credential": true,
            "name": "text",
            "sensitive": true,
            "value": null
          }
        ],
        "secretKey": "text"
      },
      "status": {}
    }
  ]
}

Create a new project

post
Body
stringOptional
Responses
201

Created

application/json
post
POST /v1/accounts HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}

Update Project Metadata

patch
Body
stringOptional
Responses
200

OK

application/json
patch
PATCH /v1/accounts HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}
patch
Responses
204

No Content - Project switched successfully

No content

patch
PATCH /v1/accounts/current HTTP/1.1
Host: 
Accept: */*

No content

get
Path parameters
idstringRequired

the id of the project

Responses
200

OK

application/json
get
GET /v1/accounts/{id} HTTP/1.1
Host: 
Accept: */*
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}

Delete project by id

delete
Path parameters
idstringRequired

the id of the project to delete

Responses
204

Successful Delete, no content

No content

delete
DELETE /v1/accounts/{id} HTTP/1.1
Host: 
Accept: */*

No content

List Projects

get
Responses
200

OK

application/json
get
GET /v1/projects HTTP/1.1
Host: 
Accept: */*
{
  "accounts": [
    {
      "apiVersion": "string",
      "kind": "string",
      "metadata": {
        "additionalInfo": {
          "documentation": [
            {
              "text": "text",
              "url": "text"
            }
          ],
          "message": "string"
        },
        "dateModified": "text",
        "deprecated": true,
        "description": "string",
        "displayName": "string",
        "hash": "text",
        "icon": "string",
        "id": "string",
        "labels": {},
        "name": "string",
        "resourceDocLink": "string",
        "stability": "string",
        "version": 1,
        "warning": "string"
      },
      "spec": {
        "alternateSecretKeys": [
          "text"
        ],
        "parameters": [
          {
            "credential": true,
            "name": "text",
            "sensitive": true,
            "value": null
          }
        ],
        "secretKey": "text"
      },
      "status": {}
    }
  ]
}

Create a new project

post
Body
stringOptional
Responses
201

Created

application/json
post
POST /v1/projects HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}

Update Project Metadata

patch
Body
stringOptional
Responses
200

OK

application/json
patch
PATCH /v1/projects HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}
patch
Responses
204

No Content - Project switched successfully

No content

patch
PATCH /v1/projects/current HTTP/1.1
Host: 
Accept: */*

No content

Set Next Login Project

patch

Sets the next login project for the user

Responses
204

No Content - Next login project set successfully

No content

patch
PATCH /v1/projects/next-login HTTP/1.1
Host: 
Accept: */*

No content

get
Path parameters
idstringRequired

the id of the project

Responses
200

OK

application/json
get
GET /v1/projects/{id} HTTP/1.1
Host: 
Accept: */*
{
  "account": {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
      "additionalInfo": {
        "documentation": [
          {
            "text": "text",
            "url": "text"
          }
        ],
        "message": "string"
      },
      "dateModified": "text",
      "deprecated": true,
      "description": "string",
      "displayName": "string",
      "hash": "text",
      "icon": "string",
      "id": "string",
      "labels": {},
      "name": "string",
      "resourceDocLink": "string",
      "stability": "string",
      "version": 1,
      "warning": "string"
    },
    "spec": {
      "alternateSecretKeys": [
        "text"
      ],
      "parameters": [
        {
          "credential": true,
          "name": "text",
          "sensitive": true,
          "value": null
        }
      ],
      "secretKey": "text"
    },
    "status": {}
  }
}

Delete project by id

delete
Path parameters
idstringRequired

the id of the project to delete

Responses
204

Successful Delete, no content

No content

delete
DELETE /v1/projects/{id} HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?