Projects

List all projects that a user has access to

get
Query parameters
offsetinteger · int32Optional

The offset into queried items to return

limitinteger · int32 · max: 100Optional

How many items to return at one time (max 100)

Responses
200

A paged array of projects

application/json
get
GET /v1/identity/projects HTTP/1.1
Host: localhost:3050
Accept: */*
{
  "projects": [
    {
      "id": "text",
      "organizationId": "text",
      "name": "text",
      "description": "text",
      "createdBy": {
        "userId": "text",
        "type": "user"
      },
      "createdAt": "text"
    }
  ],
  "totalResults": 1,
  "offset": 1,
  "limit": 1
}

Info for a specific project

get
Path parameters
projectIdstringRequired

The id of the project to retrieve

Responses
200

Expected response to a valid request

application/json
Responseall of
get
GET /v1/identity/projects/{projectId} HTTP/1.1
Host: localhost:3050
Accept: */*
{
  "id": "text",
  "organizationId": "text",
  "name": "text",
  "description": "text",
  "createdBy": {
    "userId": "text",
    "type": "user"
  },
  "createdAt": "text",
  "organization": {
    "id": "text",
    "name": "text",
    "description": "text",
    "createdBy": {
      "userId": "text",
      "type": "user"
    },
    "createdAt": "text"
  }
}

Edit a project

post
Path parameters
projectIdstringRequired

The id of the project to edit

Body
namestringRequired
Responses
200

Expected response to a valid request

application/json
post
POST /v1/identity/projects/{projectId} HTTP/1.1
Host: localhost:3050
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "id": "text",
  "organizationId": "text",
  "name": "text",
  "description": "text",
  "createdBy": {
    "userId": "text",
    "type": "user"
  },
  "createdAt": "text"
}

Was this helpful?