Get Project Content
Retrieve the content of a specific project.
This endpoint allows you to retrieve the content associated with a specific project.
Endpoint
GET https://rowlogy.com/api/:username/:projectSlug/content
Path Parameters
| Parameter | Type | Description |
|---|---|---|
username | string | The username of the project owner. Must start with "@". |
projectSlug | string | The project ID of the project. |
Authentication
You can authenticate your requests using one of the following methods:
Session Token
Include your session token in the Authorization header:
Authorization: Bearer <YOUR_SESSION_TOKEN>
API Key Authentication
Alternatively, you can authenticate using an API key. Include your API key in the Authorization header:
Authorization: Bearer <YOUR_API_KEY>
For more details on generating and managing API keys, see the Using API Keys guide.
Response
The response will be the JSON content of the project.
Success (200 OK)
// Example of project content
{
"title": "My Awesome Project",
"description": "This is a description of my project.",
"data": [
{
"id": 1,
"name": "Item 1"
},
{
"id": 2,
"name": "Item 2"
}
]
}For information on how to use the Rowlogy client libraries to interact with this API, please refer to the Client Libraries section.
Error Responses
- 401 Unauthorized:
- If no authentication (user session or API key) is provided.
- If the provided API key is invalid or expired.
- 403 Forbidden:
- If the authenticated user does not have access to the project.
- If the API key used does not have the required permissions for this project.
- 404 Not Found: If the project or user does not exist.
- 500 Internal Server Error: For any server-side issues.