Infinite Directory manage (1.0.0)

Download OpenAPI specification:Download

The API allows to access the projects collection.

Authentication

Basic

Security Scheme Type HTTP
HTTP Authorization Scheme basic

Bearer

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

Infinite_Directory_Admin

a directory session bearer with access rights to the frontend

Security Scheme Type API Key
Header parameter name: x-infinite-bearer

Infinite_Directory_Api_Key

an api key allowing 'admin' access on the directory

Security Scheme Type API Key
Header parameter name: x-infinite-apikey

/

list projects

Responses

Response samples

Content type
application/json; charset=utf-8
{
  • "count": 2,
  • "data": [
    ]
}

/{projectid}

get project informations

path Parameters
projectid
required
string 36 characters ^prj_[a-f0-9]{32}$
Example: prj_091d232caeae2c0d2e4e63b031534c5b

the unique identifier of the project

Responses

Response samples

Content type
application/json; charset=utf-8
{
  • "diskfootprint": 42377621,
  • "generatorlabel": "MyGenerator",
  • "generatorurl": "string",
  • "label": "prj_091d232caeae2c0d2e4e63b031534c5b",
  • "lasterrormsg": "string",
  • "nbbuilds": 2,
  • "nbbuilds_errors": 1,
  • "projectstatus": 0,
  • "properties": {
    }
}

/{projectid}/builds

list a project's builds

path Parameters
projectid
required
string 36 characters ^prj_[a-f0-9]{32}$
Example: prj_091d232caeae2c0d2e4e63b031534c5b

the unique identifier of the project

Responses

Response samples

Content type
application/json; charset=utf-8
{
  • "count": 1,
  • "data": [
    ]
}