List For User
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projectsimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"projectLead": {
"userId": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"plannedStartDate": "<string>",
"targetEndDate": "<string>",
"region": "<string>",
"currentPhase": "pre_design",
"timeBillable": true,
"isPrototype": true,
"sourceProjectId": "<string>",
"client": {
"id": "<string>",
"name": "<string>",
"available": true
},
"billingClient": {
"id": "<string>",
"name": "<string>",
"available": true
},
"location": {
"id": "<string>",
"name": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"region": "<string>"
},
"coverImageKey": "<string>",
"createdById": "<string>",
"status": "active",
"publicItemPagesEnabled": true,
"formulaAssignments": {},
"memberCount": 123,
"accessLevel": "edit",
"grantLevel": "edit",
"lastViewedAt": "<string>",
"specDisciplines": [
{}
],
"segments": [
{}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "grey"
}
],
"categories": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"archivedAt": "<string>",
"access": {
"viaTeams": [
{
"id": "<string>",
"name": "<string>",
"reason": "all",
"accessLevel": "edit"
}
],
"direct": true,
"directLevel": "edit",
"viaRule": {
"region": "<string>",
"location": {
"id": "<string>",
"name": "<string>"
}
},
"workspace": true
}
}
],
"nextCursor": "<string>",
"hasMore": true,
"everyProject": {
"viaTeams": [
{
"id": "<string>",
"name": "<string>",
"reason": "all",
"accessLevel": "edit"
}
],
"direct": true,
"directLevel": "edit",
"viaRule": {
"region": "<string>",
"location": {
"id": "<string>",
"name": "<string>"
}
},
"workspace": true
},
"ownRule": {
"projectRegions": [
"<string>"
],
"locations": [
{
"id": "<string>",
"name": "<string>"
}
],
"allProjects": true
},
"version": 123
}User Projects
List For User
GET
/
v1
/
workspaces
/
{workspaceId}
/
users
/
{userId}
/
projects
List For User
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projectsimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/users/{userId}/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"description": "<string>",
"sector": "<string>",
"workType": "<string>",
"lifecycleStatus": "<string>",
"projectLead": {
"userId": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"plannedStartDate": "<string>",
"targetEndDate": "<string>",
"region": "<string>",
"currentPhase": "pre_design",
"timeBillable": true,
"isPrototype": true,
"sourceProjectId": "<string>",
"client": {
"id": "<string>",
"name": "<string>",
"available": true
},
"billingClient": {
"id": "<string>",
"name": "<string>",
"available": true
},
"location": {
"id": "<string>",
"name": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"region": "<string>"
},
"coverImageKey": "<string>",
"createdById": "<string>",
"status": "active",
"publicItemPagesEnabled": true,
"formulaAssignments": {},
"memberCount": 123,
"accessLevel": "edit",
"grantLevel": "edit",
"lastViewedAt": "<string>",
"specDisciplines": [
{}
],
"segments": [
{}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "grey"
}
],
"categories": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"archivedAt": "<string>",
"access": {
"viaTeams": [
{
"id": "<string>",
"name": "<string>",
"reason": "all",
"accessLevel": "edit"
}
],
"direct": true,
"directLevel": "edit",
"viaRule": {
"region": "<string>",
"location": {
"id": "<string>",
"name": "<string>"
}
},
"workspace": true
}
}
],
"nextCursor": "<string>",
"hasMore": true,
"everyProject": {
"viaTeams": [
{
"id": "<string>",
"name": "<string>",
"reason": "all",
"accessLevel": "edit"
}
],
"direct": true,
"directLevel": "edit",
"viaRule": {
"region": "<string>",
"location": {
"id": "<string>",
"name": "<string>"
}
},
"workspace": true
},
"ownRule": {
"projectRegions": [
"<string>"
],
"locations": [
{
"id": "<string>",
"name": "<string>"
}
],
"allProjects": true
},
"version": 123
}⌘I