List project members
const options = {method: 'GET'};
fetch('http://localhost:4005/v1/arc/projects/:id/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4005/v1/arc/projects/:id/members"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url http://localhost:4005/v1/arc/projects/:id/membersimport requests
url = "http://localhost:4005/v1/arc/projects/:id/members"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"projectId": "<string>",
"userId": "<string>",
"role": "admin",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Projects
List project members
Get all members of a project
GET
/
v1
/
arc
/
projects
/
:id
/
members
List project members
const options = {method: 'GET'};
fetch('http://localhost:4005/v1/arc/projects/:id/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4005/v1/arc/projects/:id/members"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}curl --request GET \
--url http://localhost:4005/v1/arc/projects/:id/membersimport requests
url = "http://localhost:4005/v1/arc/projects/:id/members"
response = requests.get(url)
print(response.text){
"success": true,
"data": [
{
"id": "<string>",
"projectId": "<string>",
"userId": "<string>",
"role": "admin",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Was this page helpful?