Projects
List Projects
List projects from an organization. Only returns a subset of a Project fields.
Search
The search query parameter takes a list of words and enables you to only return projects whose code or name (or those of their clients) contains all those words.
GET /api/v4/projects?organizationId=1&search=pro,avat&fields.root=count HTP/1.1
{
"count": 2,
"items": [
{
"id": 1,
"name": "Project",
"code": "Avatar",
"client": {
"name": "James Cameron",
"code": "CAMERON"
}
},
{
"id": 2,
"name": "Avatar Project",
"code": "Awesomeness",
"client": {
"name": "Advent",
"code": "ADVENT"
}
],
{
"id": 3,
"name": "Test",
"code": "Test",
"client": {
"name": "Avatar",
"code": "project"
}
}
}
GET
Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Query Parameters
Filter on a single organization unique identifier.
Comma-separated list of codes / names to search for
Page size
Page number
Required range:
x >= 1
Return total items count (across all pages).
Available options:
count
Only returns projects whose code is strictly equal to sent value
Response
200
application/json
OK
The response is of type object
.