Saltar al contenido principal
GET
/
v1
/
project
/
{project_id}
/
member
/
{profile_id}
Get project member
import requests

url = "https://api.diga.io/v1/project/{project_id}/member/{profile_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "role": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "permissions": [
      "<string>"
    ]
  },
  "added_at": "2023-11-07T05:31:56Z",
  "first_name": "<string>",
  "last_name": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

project_id
string<uuid>
requerido
profile_id
string<uuid>
requerido

Respuesta

Successful Response

Schema for member information including their role in the project.

id
string<uuid>
requerido

Unique identifier for the profile

email
string
requerido

Member's email address

role
Role · object
requerido

Member's role in the project with permissions

added_at
string<date-time>
requerido

Timestamp when the member was added

first_name
string | null

Member's first name

last_name
string | null

Member's last name