curl --location --request GET 'https://api.astravue.com/v1/spaces' \
--header 'X-Org-Id: 1'
{
"success": true,
"message": "Operation completed successfully",
"code": 200,
"data": [
{
"tenantId": 0,
"spaceId": 0,
"spaceName": "string",
"description": "string",
"color": "string",
"spaceType": "string",
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"createdTime": "2019-08-24T14:15:22Z",
"modifiedTime": "2019-08-24T14:15:22Z",
"deleted": true,
"deletedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"deletedTime": "2019-08-24T14:15:22Z",
"spaceMembers": [
{
"spaceMemberId": 0,
"spaceId": 0,
"user": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"invitedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"spaceRole": {
"spaceRoleId": 0,
"spaceRoleName": "string"
},
"joined": true,
"hidden": true
}
],
"projectAdminMatch": true,
"customFields": [
{
"tenantId": 0,
"taskCustomFieldId": 0,
"fieldName": "string",
"description": "string",
"fieldType": "string",
"fieldValue": [
{
"taskId": 0,
"value": {}
}
],
"fieldIcon": "string",
"spaceId": 0,
"projectId": 0,
"associatedId": 0,
"order": 0,
"createdBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"modifiedBy": {
"userId": 0,
"firstName": "string",
"lastName": "string",
"email": "string",
"profilePicURL": "string",
"profilePicName": "string",
"profilePicColor": "string",
"provider": "string",
"newUser": true,
"isTourCompleted": true,
"about": "string",
"updateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"status": "string",
"role": {
"orgRoleId": 0,
"roleName": "string"
}
},
"createdTime": "2019-08-24T14:15:22Z",
"modifiedTime": "2019-08-24T14:15:22Z",
"customFieldOption": [
{
"optionId": 0,
"optionName": "string",
"color": "string",
"spaceId": 0,
"projectId": 0,
"taskCustomFieldId": 0
}
]
}
],
"archived": true
}
],
"timestamp": "2023-01-01T12:00:00Z"
}