For the complete documentation index, see llms.txt. This page is also available as Markdown.

API

Descrierea metodelor

Generarea Token

GET https://sso.esempla.systems/api/v1/login

Path Parameters

Name
Type
Description

Authorization

string

Metoda de audentificare "Basic Auth"

Request Body

Name
Type
Description

Username

string

Numele Secret al Organizatiei

Password

string

Tokenul Secret al Proectului

{
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjEifQ.eyJpc3MiOiIxIiwiYXVkIjoiMSIsImp0aSI6IjEiLCJpYXQiOjE1NTI5MDQwNzgsIm5iZiI6MTU1MjkwNDA3OCwiZXhwIjoxNTUyOTA3Njc4fQ.a0mJq1GZH6N4Tx3Gzrc5m8l7MlXvtfi4NlmcKca1Rm4"
}
{
    "name": "Unauthorized",
    "message": "Your request was made with invalid credentials.",
    "code": 0,
    "status": 401
}
{
    "name": "Not Found",
    "message": "Page not found.",
    "code": 0,
    "status": 404,
    "previous": {
        "name": "Invalid Route",
        "message": "Unable to resolve the request \"v1/logi\".",
        "code": 0
    }
}

Inspectam Organizatia si Proectul care apartine tokinului

GET https://sso.esempla.systems/api/v1/checkToken

Path Parameters

Name
Type
Description

Authorization

string

Metoda de audentificare "Bearer Token"

Request Body

Name
Type
Description

Token

string

indicam tokenul care a fos creat prin metoda "/api/v1/login"

Last updated

Was this helpful?