/projects
This endpoint retrieves the projects list based on the provided filters.
Request
Available filters
-
id
(optional): The ID of the project. -
name
(optional): The name of the project. -
company_id
(optional): The ID of the company associated with the project. -
base_url
(optional): The base URL of the project. -
status_id
(optional): The ID of the status of the project. -
automatically_approve_conversions
(optional): Filter projects based on whether they automatically approve conversions. -
automatically_approve_rewards
(optional): Filter projects based on whether they automatically approve rewards. -
enable_fraud_detection
(optional): Filter projects based on whether fraud detection is enabled.
Available includes
-
status
-> The status of the Project -
partners
-> The partners associated with the Project
/projects
Authorization
Authorization
RequiredBearer <token>In: header
Response Body
OK
TypeScript Definitions
Use the response body type in TypeScript.
curl -X GET "https://api.nodiref.com/projects" \
-H "Authorization: Bearer <token>"
{
"success": true,
"data": [
{
"id": "9ef54dff-c212-44d3-a66d-845ce2bfb77e",
"name": "Kennith Corkery II",
"description": "Ut modi nulla voluptatem unde odio temporibus et maxime.",
"base_url": "http://www.abshire.biz/quod-sunt-qui-doloribus-odit",
"cookie_lifetime": 21,
"automatically_approve_conversions": true
},
{
"id": "9ef54f0c-fce4-4b5c-a342-4f5c844df8e3",
"name": "Ms. Georgiana Pouros DVM",
"description": "Ut et necessitatibus quis voluptas aut.",
"base_url": "http://schulist.com/eveniet-autem-quia-fugit",
"cookie_lifetime": 5,
"automatically_approve_conversions": true
}
],
"pagination": {
"current_page": 1,
"first_page_url": "http://localhost:8000/api/projects?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8000/api/projects?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost:8000/api/projects?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost:8000/api/projects",
"per_page": 10,
"prev_page_url": null,
"to": 2,
"total": 2
}
}