Get all graphs
GET/graphs
Retrieve a list of all graphs.
Request
Responses
- 200
- 401
- 403
- 500
A list of graphs
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
_id uuid
name string
nodes object[]
id number
name string
type string
orientation boolean
_id uuid
createdAt date-time
updatedAt date-time
edges object[]
id number
name string
orientation boolean
bidirectional boolean
type string
direction string
weight number
source number
target number
_id uuid
createdAt date-time
updatedAt date-time
createdAt date-time
updatedAt date-time
[
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"nodes": [
{
"id": 0,
"name": "string",
"type": "string",
"orientation": true,
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2025-06-05T13:40:40.734Z",
"updatedAt": "2025-06-05T13:40:40.734Z"
}
],
"edges": [
{
"id": 0,
"name": "string",
"orientation": true,
"bidirectional": true,
"type": "string",
"direction": "string",
"weight": 0,
"source": 0,
"target": 0,
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2025-06-05T13:40:40.735Z",
"updatedAt": "2025-06-05T13:40:40.735Z"
}
],
"createdAt": "2025-06-05T13:40:40.735Z",
"updatedAt": "2025-06-05T13:40:40.735Z"
}
]
Unauthorized.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Authentication token not provided."
}
{
"message": "Authentication token not provided."
}
Forbidden.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Access to this resource is forbidden."
}
{
"message": "Access to this resource is forbidden."
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Internal Server Error. Please try again later."
}
{
"message": "Internal Server Error. Please try again later."
}
Loading...