Projects

Gets a projects within the organization.

get
Authorizations
Responses
200

OK

application/json
get
GET /organization/v1/projects HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
[
  {
    "created_by": "text",
    "created_on": 1,
    "description": "text",
    "id": "text",
    "is_default": true,
    "name": "text",
    "updated_by": "text",
    "updated_on": 1
  }
]

Creates a new project in organization

post
Authorizations
Body
descriptionstringOptional
namestringOptional
Responses
201

Created

No content

post
POST /organization/v1/projects HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "description": "text",
  "name": "text"
}
201

Created

No content

Deprecated

Creates a new project in organization

put
Authorizations
Body
descriptionstringOptional
namestringOptional
Responses
201

Created

No content

put
PUT /organization/v1/projects HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "description": "text",
  "name": "text"
}
201

Created

No content

Gets a project by project id within the organization.

get
Authorizations
Path parameters
project_idstringRequired

Project identifier

Responses
200

OK

application/json
get
GET /organization/v1/projects/{project_id} HTTP/1.1
Host: api.skysql.com/
X-API-Key: YOUR_API_KEY
Accept: */*
200

OK

{
  "created_by": "text",
  "created_on": 1,
  "description": "text",
  "id": "text",
  "is_default": true,
  "name": "text",
  "updated_by": "text",
  "updated_on": 1
}

Was this helpful?