Projects

Overview of all projects

GET https://cronly.app/api/projects

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

[
    {
        "id": 2,
        "name": "Project name",
        "company_id": 1,
        "deleted_at": null,
        "created_at": "2022-05-30T13:28:12.000000Z",
        "updated_at": "2022-05-30T13:28:12.000000Z"
    }
]

Details of project

GET https://cronly.app/api/projects/{id}

Query Parameters

Name
Type
Description

id*

Integer

The ID of the project you want to view

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

{
    "id": 2,
    "name": "Project name",
    "company_id": 1,
    "deleted_at": null,
    "created_at": "2022-05-30T13:28:12.000000Z",
    "updated_at": "2022-05-30T13:28:12.000000Z"
}

Create a new project

POST https://cronly.app/api/projects

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

Request Body

Name
Type
Description

name*

String

{
    "name": "new project",
    "company_id": 1,
    "updated_at": "2022-05-31T19:50:29.000000Z",
    "created_at": "2022-05-31T19:50:29.000000Z",
    "id": 4
}

Delete a project

DELETE https://cronly.app/api/projects/{id}

Query Parameters

Name
Type
Description

id*

Integer

The ID of the certificate you want to view

Headers

Name
Type
Description

Authorization*

String

Bearer: API token

{
    "success": "Project deleted"
}

Last updated