Dokumentacja MGBI API
  1. pl-msig-record
Dokumentacja MGBI API
  • MGBI API
    • Wprowadzenie
    • Autoryzacja
    • Pojęcia
    • Modele danych
      • pl-krs-wp-record
      • pl-krs-rdf-record
      • pl-krz-wp-record
      • pl-wpv-record
      • pl-crbr-wp-record
      • pl-msig-record
    • Endpointy dla modeli danych
      • pl-krs-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-krs-rdf-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-krz-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-wpv-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-crbr-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-msig-record
        • Get Record By Id
          GET
        • Get Records
          GET
        • Stream Records
          GET
        • Download File By Id
          GET
        • Get Limits
          GET
        • Get Projections
          GET
    • Zlecanie odświeżenia danych
      • Ogólne informacje
      • Create Refresh
      • Get Refresh
  1. pl-msig-record

Get Limits

GET
/v1/models/pl-msig-record/limits
Pobiera dostępne limity i aktualne liczniki dla modelu danych w obecnym okresie abonamentowym.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mgbi.pl/v1/models/pl-msig-record/limits' \
--header 'Authorization;'
Response Response Example
200 - Success Example
{
    "max": {
        "api": 100,
        "api_files": 10,
        "api_get": 100,
        "api_search": 100,
        "files": 10,
        "records": 100,
        "records_api_get": 100,
        "records_api_search": 100
    },
    "used": {
        "api": 0,
        "api_files": 0,
        "api_get": 0,
        "api_search": 0,
        "files": 0,
        "records": 0,
        "records_api_get": 0,
        "records_api_search": 0
    }
}

Request

Header Params
Authorization
string 
optional
Klucz autoryzacji
Example:
aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee

Responses

🟢200OK
application/json
Słownik z wartościami limitów
Body
max
object 
optional
Dostępne limity
api
integer 
optional
Liczba wszystkich żądań do API
api_files
integer 
optional
Liczba żądań o pobranie pliku
api_get
integer 
optional
Liczba żądań o pobranie pojedynczego rekordu
api_search
integer 
optional
Liczba żądań o pobranie wielu rekordów
files
integer 
optional
Liczba pobranych plików
records
integer 
optional
Liczba pobranych rekordów
records_api_get
integer 
optional
Liczba pobranych rekordów przy użyciu endpointu do pobierania pojedynczych rekordów
records_api_search
integer 
optional
Liczba pobranych rekordów przy użyciu endpointu do pobierania wielu rekordów
used
object 
optional
Aktualne wartości liczników dla dostępnych limitów
api
integer 
optional
Liczba wszystkich żądań do API
api_files
integer 
optional
Liczba żądań o pobranie pliku
api_get
integer 
optional
Liczba żądań o pobranie pojedynczego rekordu
api_search
integer 
optional
Liczba żądań o pobranie wielu rekordów
files
integer 
optional
Liczba pobranych plików
records
integer 
optional
Liczba pobranych rekordów
records_api_get
integer 
optional
Liczba pobranych rekordów przy użyciu endpointu do pobierania pojedynczych rekordów
records_api_search
integer 
optional
Liczba pobranych rekordów przy użyciu endpointu do pobierania wielu rekordów
🟠400Bad request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟢204No Content
🟠400Bad request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠422Parameter Error
Modified at 2025-07-18 17:41:11
Previous
Download File By Id
Next
Get Projections
Built with