MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>

Authenticating requests

This API is not authenticated.

Endpoints

POST api/v1/auth/register

Example request:
curl --request POST \
    "http://localhost/api/v1/auth/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"b\",
    \"email\": \"zbailey@example.net\",
    \"role\": \"architecto\",
    \"password\": \"]|{+-0pBNvYg\",
    \"social\": false
}"
const url = new URL(
    "http://localhost/api/v1/auth/register"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "b",
    "email": "zbailey@example.net",
    "role": "architecto",
    "password": "]|{+-0pBNvYg",
    "social": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/auth/register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: b

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: zbailey@example.net

role   string   

Example: architecto

password   string  optional  

This field is required when social is false. Must be at least 8 characters. Example: ]|{+-0pBNvYg

social   boolean   

Example: false

provider   string  optional  

This field is required when social is true.

provider_id   string  optional  

This field is required when social is true.

POST api/v1/auth/login

Example request:
curl --request POST \
    "http://localhost/api/v1/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"gbailey@example.net\",
    \"role\": \"architecto\",
    \"password\": \"]|{+-0pBNvYg\",
    \"social\": false
}"
const url = new URL(
    "http://localhost/api/v1/auth/login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "gbailey@example.net",
    "role": "architecto",
    "password": "]|{+-0pBNvYg",
    "social": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/auth/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: gbailey@example.net

role   string   

Example: architecto

password   string  optional  

This field is required when social is false. Must be at least 8 characters. Example: ]|{+-0pBNvYg

social   boolean   

Example: false

provider   string  optional  

This field is required when social is true.

provider_id   string  optional  

This field is required when social is true.

POST api/v1/auth/reset-password

Example request:
curl --request POST \
    "http://localhost/api/v1/auth/reset-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"gbailey@example.net\",
    \"password\": \"+-0pBNvYgxwmi\\/#iw\",
    \"token\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/auth/reset-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "gbailey@example.net",
    "password": "+-0pBNvYgxwmi\/#iw",
    "token": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/auth/reset-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. The email of an existing record in the users table. Example: gbailey@example.net

password   string   

Must be at least 8 characters. Example: +-0pBNvYgxwmi/#iw

token   string   

Example: architecto

POST api/v1/auth/forgot-password

Example request:
curl --request POST \
    "http://localhost/api/v1/auth/forgot-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"gbailey@example.net\"
}"
const url = new URL(
    "http://localhost/api/v1/auth/forgot-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "gbailey@example.net"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/auth/forgot-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. The email of an existing record in the users table. Example: gbailey@example.net

POST api/v1/auth/update-password

Example request:
curl --request POST \
    "http://localhost/api/v1/auth/update-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/auth/update-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/auth/update-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/profile

Example request:
curl --request GET \
    --get "http://localhost/api/v1/profile" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/profile"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/profile

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/profile/update

Example request:
curl --request GET \
    --get "http://localhost/api/v1/profile/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/profile/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/profile/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/sessions

Example request:
curl --request GET \
    --get "http://localhost/api/v1/sessions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/sessions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/sessions/add

Example request:
curl --request POST \
    "http://localhost/api/v1/sessions/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"scheduled_at\": \"2051-11-04\",
    \"title\": \"architecto\",
    \"description\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "scheduled_at": "2051-11-04",
    "title": "architecto",
    "description": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/sessions/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

scheduled_at   string   

Must be a valid date. Must be a date after now. Example: 2051-11-04

title   string   

Example: architecto

description   string   

Example: architecto

PUT api/v1/sessions/update/{coachingSession_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/sessions/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"scheduled_at\": \"2051-11-04\",
    \"title\": \"architecto\",
    \"description\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "scheduled_at": "2051-11-04",
    "title": "architecto",
    "description": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/sessions/update/{coachingSession_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

coachingSession_id   integer   

The ID of the coachingSession. Example: 16

Body Parameters

scheduled_at   string   

Must be a valid date. Must be a date after now. Example: 2051-11-04

title   string   

Example: architecto

description   string   

Example: architecto

GET api/v1/sessions/{coachingSession_id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/sessions/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/sessions/{coachingSession_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

coachingSession_id   integer   

The ID of the coachingSession. Example: 16

DELETE api/v1/sessions/delete/{coachingSession_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/sessions/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/sessions/delete/{coachingSession_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

coachingSession_id   integer   

The ID of the coachingSession. Example: 16

POST api/v1/sessions/notes/add

Example request:
curl --request POST \
    "http://localhost/api/v1/sessions/notes/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"session_id\": \"architecto\",
    \"notes\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/notes/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "session_id": "architecto",
    "notes": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/sessions/notes/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

session_id   string   

The id of an existing record in the coaching_sessions table. Example: architecto

notes   string   

Example: architecto

PUT api/v1/sessions/notes/update/{sessionNote_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/sessions/notes/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"note\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/notes/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "note": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/sessions/notes/update/{sessionNote_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sessionNote_id   integer   

The ID of the sessionNote. Example: 16

Body Parameters

note   string   

Example: architecto

DELETE api/v1/sessions/notes/delete/{sessionNote_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/sessions/notes/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions/notes/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/sessions/notes/delete/{sessionNote_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sessionNote_id   integer   

The ID of the sessionNote. Example: 16

POST api/v1/sessions/resources/add

Example request:
curl --request POST \
    "http://localhost/api/v1/sessions/resources/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"session_id\": \"architecto\",
    \"name\": \"architecto\",
    \"description\": \"architecto\",
    \"file\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/resources/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "session_id": "architecto",
    "name": "architecto",
    "description": "architecto",
    "file": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/sessions/resources/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

session_id   string   

The id of an existing record in the coaching_sessions table. Example: architecto

name   string   

Example: architecto

description   string   

Example: architecto

file   string   

Example: architecto

PUT api/v1/sessions/resources/update/{sessionResource_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/sessions/resources/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"architecto\",
    \"description\": \"architecto\",
    \"file\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/resources/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "architecto",
    "description": "architecto",
    "file": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/sessions/resources/update/{sessionResource_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sessionResource_id   integer   

The ID of the sessionResource. Example: 16

Body Parameters

name   string   

Example: architecto

description   string   

Example: architecto

file   string   

Example: architecto

DELETE api/v1/sessions/resources/delete/{sessionResource_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/sessions/resources/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions/resources/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/sessions/resources/delete/{sessionResource_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sessionResource_id   integer   

The ID of the sessionResource. Example: 16

POST api/v1/sessions/members/add

Example request:
curl --request POST \
    "http://localhost/api/v1/sessions/members/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"session_id\": \"architecto\",
    \"client_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/sessions/members/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "session_id": "architecto",
    "client_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/sessions/members/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

session_id   string   

The id of an existing record in the coaching_sessions table. Example: architecto

client_id   string   

The id of an existing record in the clients table. Example: architecto

DELETE api/v1/sessions/members/delete/{sessionMember_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/sessions/members/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/sessions/members/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/sessions/members/delete/{sessionMember_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sessionMember_id   integer   

The ID of the sessionMember. Example: 16

GET api/v1/tasks

Example request:
curl --request GET \
    --get "http://localhost/api/v1/tasks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/tasks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/tasks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/tasks/add

Example request:
curl --request POST \
    "http://localhost/api/v1/tasks/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/tasks/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/tasks/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/tasks/update/{task_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/tasks/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"b\",
    \"description\": \"Eius et animi quos velit et.\",
    \"priority\": \"urgent-important\",
    \"due_date\": \"2025-10-11T09:44:20\",
    \"status\": \"in_progress\"
}"
const url = new URL(
    "http://localhost/api/v1/tasks/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "b",
    "description": "Eius et animi quos velit et.",
    "priority": "urgent-important",
    "due_date": "2025-10-11T09:44:20",
    "status": "in_progress"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/tasks/update/{task_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

task_id   integer   

The ID of the task. Example: 16

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: b

description   string  optional  

Example: Eius et animi quos velit et.

priority   string  optional  

Example: urgent-important

Must be one of:
  • urgent-important
  • urgent-not-important
  • not-urgent-important
  • not-urgent-not-important
due_date   string  optional  

Must be a valid date. Example: 2025-10-11T09:44:20

status   string  optional  

Example: in_progress

Must be one of:
  • pending
  • in_progress
  • completed

DELETE api/v1/tasks/delete/{task_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/tasks/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/tasks/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/tasks/delete/{task_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

task_id   integer   

The ID of the task. Example: 16

GET api/v1/communities

Example request:
curl --request GET \
    --get "http://localhost/api/v1/communities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/communities"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/communities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/communities/{community_id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/communities/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/communities/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/communities/{community_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

community_id   integer   

The ID of the community. Example: 16

POST api/v1/communities/add

Example request:
curl --request POST \
    "http://localhost/api/v1/communities/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"architecto\",
    \"description\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "architecto",
    "description": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/communities/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: architecto

description   string   

Example: architecto

PUT api/v1/communities/update/{community_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/communities/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"architecto\",
    \"description\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "architecto",
    "description": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/communities/update/{community_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

community_id   integer   

The ID of the community. Example: 16

Body Parameters

name   string   

Example: architecto

description   string   

Example: architecto

DELETE api/v1/communities/delete

Example request:
curl --request DELETE \
    "http://localhost/api/v1/communities/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/communities/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/communities/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/communities/posts/add

Example request:
curl --request POST \
    "http://localhost/api/v1/communities/posts/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"architecto\",
    \"community_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/posts/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "architecto",
    "community_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/communities/posts/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

content   string   

Example: architecto

community_id   string   

The id of an existing record in the communities table. Example: architecto

PUT api/v1/communities/posts/update/{post_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/communities/posts/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/posts/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/communities/posts/update/{post_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

post_id   integer   

The ID of the post. Example: 16

Body Parameters

content   string   

Example: architecto

DELETE api/v1/communities/posts/delete/{post_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/communities/posts/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/communities/posts/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/communities/posts/delete/{post_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

post_id   integer   

The ID of the post. Example: 16

POST api/v1/communities/posts/comment/add

Example request:
curl --request POST \
    "http://localhost/api/v1/communities/posts/comment/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"architecto\",
    \"post_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/posts/comment/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "architecto",
    "post_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/communities/posts/comment/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

content   string   

Example: architecto

post_id   string   

The id of an existing record in the posts table. Example: architecto

PUT api/v1/communities/posts/comment/update/{comment_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/communities/posts/comment/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/communities/posts/comment/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/communities/posts/comment/update/{comment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

comment_id   integer   

The ID of the comment. Example: 16

Body Parameters

content   string   

Example: architecto

DELETE api/v1/communities/posts/comment/delete/{comment_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/communities/posts/comment/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/communities/posts/comment/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/communities/posts/comment/delete/{comment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

comment_id   integer   

The ID of the comment. Example: 16

GET api/v1/daily-habits/today

Example request:
curl --request GET \
    --get "http://localhost/api/v1/daily-habits/today" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/daily-habits/today"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/daily-habits/today

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/daily-habits/add

Example request:
curl --request POST \
    "http://localhost/api/v1/daily-habits/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/daily-habits/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/daily-habits/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/daily-habits/update

Example request:
curl --request PUT \
    "http://localhost/api/v1/daily-habits/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"architecto\",
    \"exercise\": 2,
    \"productivity\": 1,
    \"mood\": 2,
    \"sleep\": 1,
    \"nutrition\": 1
}"
const url = new URL(
    "http://localhost/api/v1/daily-habits/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "architecto",
    "exercise": 2,
    "productivity": 1,
    "mood": 2,
    "sleep": 1,
    "nutrition": 1
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/daily-habits/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

id   string   

The id of an existing record in the daily_habits table. Example: architecto

exercise   integer   

Must be between 1 and 5. Example: 2

productivity   integer   

Must be between 1 and 5. Example: 1

mood   integer   

Must be between 1 and 5. Example: 2

sleep   integer   

Must be between 1 and 5. Example: 1

nutrition   integer   

Must be between 1 and 5. Example: 1

GET api/v1/daily-habits/history

Example request:
curl --request GET \
    --get "http://localhost/api/v1/daily-habits/history" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/daily-habits/history"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/daily-habits/history

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/whole-life-scores

Example request:
curl --request GET \
    --get "http://localhost/api/v1/whole-life-scores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/whole-life-scores"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/whole-life-scores

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/whole-life-scores/add

Example request:
curl --request POST \
    "http://localhost/api/v1/whole-life-scores/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/whole-life-scores/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/whole-life-scores/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/whole-life-scores/update

Example request:
curl --request PUT \
    "http://localhost/api/v1/whole-life-scores/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/whole-life-scores/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/whole-life-scores/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/journals

Example request:
curl --request GET \
    --get "http://localhost/api/v1/journals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/journals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/journals

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/journals/add

Example request:
curl --request POST \
    "http://localhost/api/v1/journals/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"b\",
    \"content\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/journals/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "b",
    "content": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/journals/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: b

content   string  optional  

Example: architecto

PUT api/v1/journals/update/{journal_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/journals/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"b\",
    \"content\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/journals/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "b",
    "content": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/journals/update/{journal_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

journal_id   integer   

The ID of the journal. Example: 16

Body Parameters

title   string   

Must not be greater than 255 characters. Example: b

content   string  optional  

Example: architecto

DELETE api/v1/journals/delete/{journal_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/journals/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/journals/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/journals/delete/{journal_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

journal_id   integer   

The ID of the journal. Example: 16

GET api/v1/events

Example request:
curl --request GET \
    --get "http://localhost/api/v1/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/events"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/events/add

Example request:
curl --request POST \
    "http://localhost/api/v1/events/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"architecto\",
    \"date\": \"architecto\",
    \"time\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/events/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "architecto",
    "date": "architecto",
    "time": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/events/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

type   string   

Example: architecto

location   string  optional  

This field is required when type is Physical.

link   string  optional  

This field is required when type is Online.

date   string   

Example: architecto

time   string   

Example: architecto

PUT api/v1/events/update/{event_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/events/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"architecto\",
    \"date\": \"architecto\",
    \"time\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/events/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "architecto",
    "date": "architecto",
    "time": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/events/update/{event_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

event_id   integer   

The ID of the event. Example: 16

Body Parameters

type   string   

Example: architecto

location   string  optional  

This field is required when type is Physical.

link   string  optional  

This field is required when type is online.

date   string   

Example: architecto

time   string   

Example: architecto

DELETE api/v1/events/delete/{event_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/events/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/events/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/events/delete/{event_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

event_id   integer   

The ID of the event. Example: 16

GET api/v1/clients

Example request:
curl --request GET \
    --get "http://localhost/api/v1/clients" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/clients"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/clients

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/programs

Example request:
curl --request GET \
    --get "http://localhost/api/v1/programs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/programs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/programs/add

Example request:
curl --request POST \
    "http://localhost/api/v1/programs/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"b\",
    \"description\": \"Eius et animi quos velit et.\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "b",
    "description": "Eius et animi quos velit et."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/programs/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: b

description   string   

Example: Eius et animi quos velit et.

PUT api/v1/programs/update/{program_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/programs/update/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"b\",
    \"description\": \"Eius et animi quos velit et.\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/update/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "b",
    "description": "Eius et animi quos velit et."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/programs/update/{program_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

program_id   integer   

The ID of the program. Example: 1

Body Parameters

title   string   

Must not be greater than 255 characters. Example: b

description   string   

Example: Eius et animi quos velit et.

DELETE api/v1/programs/delete/{program_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/programs/delete/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/delete/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/programs/delete/{program_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

program_id   integer   

The ID of the program. Example: 1

GET api/v1/programs/{program_id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/programs/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/programs/{program_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

program_id   integer   

The ID of the program. Example: 1

POST api/v1/programs/cohort/add

Example request:
curl --request POST \
    "http://localhost/api/v1/programs/cohort/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"program_id\": \"architecto\",
    \"name\": \"n\",
    \"start_date\": \"2025-10-11T09:44:20\",
    \"end_date\": \"2051-11-04\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/cohort/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "program_id": "architecto",
    "name": "n",
    "start_date": "2025-10-11T09:44:20",
    "end_date": "2051-11-04"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/programs/cohort/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

program_id   string   

The id of an existing record in the programs table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

start_date   string   

Must be a valid date. Example: 2025-10-11T09:44:20

end_date   string   

Must be a valid date. Must be a date after start_date. Example: 2051-11-04

PUT api/v1/programs/cohort/update/{cohort_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/programs/cohort/update/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"program_id\": \"architecto\",
    \"name\": \"n\",
    \"start_date\": \"2025-10-11T09:44:20\",
    \"end_date\": \"2051-11-04\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/cohort/update/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "program_id": "architecto",
    "name": "n",
    "start_date": "2025-10-11T09:44:20",
    "end_date": "2051-11-04"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/programs/cohort/update/{cohort_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

cohort_id   integer   

The ID of the cohort. Example: 1

Body Parameters

program_id   string   

The id of an existing record in the programs table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

start_date   string   

Must be a valid date. Example: 2025-10-11T09:44:20

end_date   string   

Must be a valid date. Must be a date after start_date. Example: 2051-11-04

DELETE api/v1/programs/cohort/delete/{cohort_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/programs/cohort/delete/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/cohort/delete/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/programs/cohort/delete/{cohort_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

cohort_id   integer   

The ID of the cohort. Example: 1

POST api/v1/programs/cohort-member/add

Example request:
curl --request POST \
    "http://localhost/api/v1/programs/cohort-member/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"cohort_id\": \"architecto\",
    \"client_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/cohort-member/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "cohort_id": "architecto",
    "client_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/programs/cohort-member/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

cohort_id   string   

The id of an existing record in the cohorts table. Example: architecto

client_id   string   

The id of an existing record in the clients table. Example: architecto

DELETE api/v1/programs/cohort-member/delete/{cohortMember_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/programs/cohort-member/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/cohort-member/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/programs/cohort-member/delete/{cohortMember_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

cohortMember_id   integer   

The ID of the cohortMember. Example: 16

POST api/v1/programs/unit/add

Example request:
curl --request POST \
    "http://localhost/api/v1/programs/unit/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"program_id\": \"architecto\",
    \"name\": \"n\",
    \"description\": \"Eius et animi quos velit et.\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/unit/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "program_id": "architecto",
    "name": "n",
    "description": "Eius et animi quos velit et."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/programs/unit/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

program_id   string   

The id of an existing record in the programs table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

description   string   

Example: Eius et animi quos velit et.

PUT api/v1/programs/unit/update/{unit_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/programs/unit/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"program_id\": \"architecto\",
    \"name\": \"n\",
    \"description\": \"Eius et animi quos velit et.\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/unit/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "program_id": "architecto",
    "name": "n",
    "description": "Eius et animi quos velit et."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/programs/unit/update/{unit_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

unit_id   integer   

The ID of the unit. Example: 16

Body Parameters

program_id   string   

The id of an existing record in the programs table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

description   string   

Example: Eius et animi quos velit et.

DELETE api/v1/programs/unit/delete/{unit_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/programs/unit/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/unit/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/programs/unit/delete/{unit_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

unit_id   integer   

The ID of the unit. Example: 16

POST api/v1/programs/unit-resource/add

Example request:
curl --request POST \
    "http://localhost/api/v1/programs/unit-resource/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"unit_id\": \"architecto\",
    \"name\": \"n\",
    \"description\": \"Eius et animi quos velit et.\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/unit-resource/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "unit_id": "architecto",
    "name": "n",
    "description": "Eius et animi quos velit et."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/programs/unit-resource/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

unit_id   string   

The id of an existing record in the units table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

description   string   

Example: Eius et animi quos velit et.

PUT api/v1/programs/unit-resource/update/{unitResource_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/programs/unit-resource/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"unit_id\": \"architecto\",
    \"name\": \"n\",
    \"description\": \"Eius et animi quos velit et.\",
    \"added_by\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/programs/unit-resource/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "unit_id": "architecto",
    "name": "n",
    "description": "Eius et animi quos velit et.",
    "added_by": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/programs/unit-resource/update/{unitResource_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

unitResource_id   integer   

The ID of the unitResource. Example: 16

Body Parameters

unit_id   string   

The id of an existing record in the units table. Example: architecto

name   string   

Must not be greater than 255 characters. Example: n

description   string   

Example: Eius et animi quos velit et.

added_by   string   

The id of an existing record in the users table. Example: architecto

DELETE api/v1/programs/unit-resource/delete/{unitResource_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/programs/unit-resource/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/programs/unit-resource/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/programs/unit-resource/delete/{unitResource_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

unitResource_id   integer   

The ID of the unitResource. Example: 16

GET api/v1/cohorts

Example request:
curl --request GET \
    --get "http://localhost/api/v1/cohorts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/cohorts"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/cohorts

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/coaches

Example request:
curl --request GET \
    --get "http://localhost/api/v1/coaches" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/coaches"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/coaches

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/fireteams

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/fireteams/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"cohort_id\": \"architecto\",
    \"title\": \"architecto\",
    \"description\": \"Eius et animi quos velit et.\",
    \"date\": \"2025-10-11T09:44:20\",
    \"time\": \"architecto\",
    \"link\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "cohort_id": "architecto",
    "title": "architecto",
    "description": "Eius et animi quos velit et.",
    "date": "2025-10-11T09:44:20",
    "time": "architecto",
    "link": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

cohort_id   string   

The id of an existing record in the cohorts table. Example: architecto

title   string   

Example: architecto

description   string   

Example: Eius et animi quos velit et.

date   string   

Must be a valid date. Example: 2025-10-11T09:44:20

time   string   

Example: architecto

link   string   

Example: architecto

PUT api/v1/fireteams/update/{fireteam}

Example request:
curl --request PUT \
    "http://localhost/api/v1/fireteams/update/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"cohort_id\": \"architecto\",
    \"title\": \"architecto\",
    \"description\": \"Eius et animi quos velit et.\",
    \"date\": \"2025-10-11T09:44:20\",
    \"time\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/update/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "cohort_id": "architecto",
    "title": "architecto",
    "description": "Eius et animi quos velit et.",
    "date": "2025-10-11T09:44:20",
    "time": "architecto"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/fireteams/update/{fireteam}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireteam   string   

Example: architecto

Body Parameters

cohort_id   string   

The id of an existing record in the cohorts table. Example: architecto

title   string   

Example: architecto

description   string   

Example: Eius et animi quos velit et.

date   string   

Must be a valid date. Example: 2025-10-11T09:44:20

time   string   

Example: architecto

DELETE api/v1/fireteams/delete/{fireteam}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/delete/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/delete/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/delete/{fireteam}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireteam   string   

Example: architecto

GET api/v1/fireteams/{fireteam}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/{fireteam}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireteam   integer   

The fireteam. Example: 16

POST api/v1/fireteams/member/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/member/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"client_id\": \"architecto\",
    \"fire_team_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/member/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "client_id": "architecto",
    "fire_team_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/member/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

client_id   string   

The id of an existing record in the clients table. Example: architecto

fire_team_id   string   

The id of an existing record in the fire_teams table. Example: architecto

DELETE api/v1/fireteams/member/delete/{fireteamMember}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/member/delete/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/member/delete/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/member/delete/{fireteamMember}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireteamMember   string   

Example: architecto

POST api/v1/fireteams/experience/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/experience/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fire_team_id\": \"architecto\",
    \"title\": \"architecto\",
    \"experience\": \"architecto\",
    \"link\": \"architecto\",
    \"status\": \"architecto\",
    \"report\": \"architecto\",
    \"summary\": \"architecto\",
    \"admin\": 16
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fire_team_id": "architecto",
    "title": "architecto",
    "experience": "architecto",
    "link": "architecto",
    "status": "architecto",
    "report": "architecto",
    "summary": "architecto",
    "admin": 16
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/experience/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fire_team_id   string   

The id of an existing record in the fire_teams table. Example: architecto

title   string   

Example: architecto

experience   string   

Example: architecto

link   string  optional  

Example: architecto

status   string  optional  

Example: architecto

report   string  optional  

Example: architecto

summary   string  optional  

Example: architecto

admin   integer  optional  

Example: 16

DELETE api/v1/fireteams/experience/delete/{fireTeamExperience_id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/experience/delete/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/delete/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/experience/delete/{fireTeamExperience_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireTeamExperience_id   integer   

The ID of the fireTeamExperience. Example: 16

GET api/v1/fireteams/experiences/{fireTeam}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/experiences/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/experiences/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/experiences/{fireTeam}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireTeam   string   

Example: architecto

PUT api/v1/fireteams/experience/update/{fireTeamExperience_id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/fireteams/experience/update/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"architecto\",
    \"experience\": \"architecto\",
    \"link\": \"architecto\",
    \"status\": \"architecto\",
    \"report\": \"architecto\",
    \"summary\": \"architecto\",
    \"admin\": 16
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/update/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "architecto",
    "experience": "architecto",
    "link": "architecto",
    "status": "architecto",
    "report": "architecto",
    "summary": "architecto",
    "admin": 16
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/fireteams/experience/update/{fireTeamExperience_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireTeamExperience_id   integer   

The ID of the fireTeamExperience. Example: 16

Body Parameters

title   string   

Example: architecto

experience   string   

Example: architecto

link   string  optional  

Example: architecto

status   string  optional  

Example: architecto

report   string  optional  

Example: architecto

summary   string  optional  

Example: architecto

admin   integer  optional  

Example: 16

GET api/v1/fireteams/members/{fireTeam}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/members/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/members/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/members/{fireTeam}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireTeam   string   

Example: architecto

POST api/v1/fireteams/experience/agenda-step/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/experience/agenda-step/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"architecto\",
    \"duration\": \"architecto\",
    \"fire_team_experience_id\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/agenda-step/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "architecto",
    "duration": "architecto",
    "fire_team_experience_id": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/experience/agenda-step/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: architecto

duration   string  optional  

Example: architecto

fire_team_experience_id   string   

The id of an existing record in the fire_team_experiences table. Example: architecto

DELETE api/v1/fireteams/experience/agenda-step/delete/{agendaStep}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/experience/agenda-step/delete/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/agenda-step/delete/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/experience/agenda-step/delete/{agendaStep}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

agendaStep   string   

Example: architecto

POST api/v1/fireteams/experience/exhibit/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/experience/exhibit/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fire_team_experience_id\": \"architecto\",
    \"name\": \"architecto\",
    \"type\": \"architecto\",
    \"link\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/exhibit/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fire_team_experience_id": "architecto",
    "name": "architecto",
    "type": "architecto",
    "link": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/experience/exhibit/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fire_team_experience_id   string   

The id of an existing record in the fire_team_experiences table. Example: architecto

name   string   

Example: architecto

type   string   

Example: architecto

link   string  optional  

This field is required when type is link. Example: architecto

DELETE api/v1/fireteams/experience/exhibit/delete/{agendaStep}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/experience/exhibit/delete/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/experience/exhibit/delete/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/experience/exhibit/delete/{agendaStep}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

agendaStep   string   

Example: architecto

POST api/v1/fireteams/objectives/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/objectives/add" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fire_team_experience_id\": \"architecto\",
    \"objective\": \"architecto\"
}"
const url = new URL(
    "http://localhost/api/v1/fireteams/objectives/add"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fire_team_experience_id": "architecto",
    "objective": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/fireteams/objectives/add

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fire_team_experience_id   string   

The id of an existing record in the fire_team_experiences table. Example: architecto

objective   string   

Example: architecto

DELETE api/v1/fireteams/objectives/delete/{id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/fireteams/objectives/delete/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/objectives/delete/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/fireteams/objectives/delete/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the delete. Example: architecto

POST api/v1/fireteams/recordings/add

Example request:
curl --request POST \
    "http://localhost/api/v1/fireteams/recordings/add" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "fire_team_id=architecto"\
    --form "file=@/tmp/php42m3qpl457mq63vs9ph" 
const url = new URL(
    "http://localhost/api/v1/fireteams/recordings/add"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('fire_team_id', 'architecto');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/fireteams/recordings/add

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

fire_team_id   string   

The id of an existing record in the fire_teams table. Example: architecto

file   file   

Must be a file. Example: /tmp/php42m3qpl457mq63vs9ph

GET api/v1/fireteams/recordings/{fireTeamId}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/recordings/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/recordings/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/recordings/{fireTeamId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fireTeamId   string   

Example: architecto

GET api/v1/fireteams/recordings/summary/admin/{recordingId}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/recordings/summary/admin/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/recordings/summary/admin/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/recordings/summary/admin/{recordingId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

recordingId   string   

Example: architecto

GET api/v1/fireteams/recordings/summary/coach/{recordingId}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/recordings/summary/coach/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/recordings/summary/coach/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/recordings/summary/coach/{recordingId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

recordingId   string   

Example: architecto

GET api/v1/fireteams/recordings/summary/client/{recordingId}/{clientId}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/fireteams/recordings/summary/client/architecto/architecto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost/api/v1/fireteams/recordings/summary/client/architecto/architecto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/fireteams/recordings/summary/client/{recordingId}/{clientId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

recordingId   string   

Example: architecto

clientId   string   

Example: architecto