Skip to content

Introduction

The juno.one API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encode request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

If you want to call the API endpoints, you need to have a account with your own tenant set up. You can do that here https://signup.juno.one/. Your tenant is name of your juno.one instance. (e.g. demo.juno.one, tenant=demo)

Basics

The API service is authenticated through JWT Bearer Token which can be generated for an existing user. The request has to contain the necessary headers for a successful processing:

  • header X-TenantID which defines the name of the environment, your tenant
  • header Content-Type is usually set as "application/json"
  • header Zone defines the actual timezone of user

The application runs on a microservice architecture and currently contains a number of domains, divided according to the modules.

Authentication

The API uses JWT Bearer Token to authenticate requests. You can create token calling our permissions service.

To get bearer token you need to call production permissions service. You need to change tenant, email and password values accordingly.

curl --location 'https://prodpermission.juno.one/v1/public/login' \
--header 'X-TenantID: <tenant>' \
--header 'Zone: GMT' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "<email>",
"password": "<password>"
}'

Endpoints

If you own the cloud version of the juno.one application, it is possible to call the endpoints through the following domains:

  • Projects and Documents module: https://prodapi.juno.one

  • Permissions and Users module: https://prodpermission.juno.one

  • Timesheet module: https://timesheet.juno.one

If you own the on-premise version of the application, you will need to create DNS logs for the particular microservices, in order to be able to call the endpoints.

API Swagger

Can be fount at API swagger.