Public
Authored by Max Saykov

Quokka

OAuth

Client_id

Xq9FhpDx8V4pM5FFslMVs6JR3uS4nfXnzThuPNN4

Client_secret

aAaWZogb6aEagjEdMHSJ1pHNTg3BveZZXJDCL7hYl5KGPBKNxNTRMdlsy9A9WxPz8BH5s92UO1UcQjAJCFc3HMB66M8injXwpjTHKzesRDDEL4VMikTo63qQ4oYTpqHI

Token URL

http://<client_id>:<client_secret>@vps351178.ovh.net:8081/o/token/

You should send POST request to Token URL with next data (Content-type: application/x-www-form-urlencoded):

grant_type=password&username=<user-email>&password=<user-password>&client_id=<client-id>

Signup

Send POST request to /sign-up/ endpoint with next json:

{
    "email": <email>,
    "password": <password>
}

Job

Types

  • 1 - Sitemap
  • 2 - Screenshots

Endpoint

http://vps351178.ovh.net:8081/api/job/

Create new Job

Send POST request to /api/job/ with next json:

{
    "project_id": <project_id>,
    "type": <job_type> // should be number
}

Run job

Send GET request to /api/job/<job_id>/run/

When Job will start, will return next json:

{
    "status": "ok"
}

When Job will not start, will return next json:

{
    "status": "failed"
}
Edited
4 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment