Dokumentacja MGBI API
  1. pl-krz-wp-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
        • Get Records
          GET
        • Stream Records
          GET
        • Get Limits
          GET
        • Get Projections
          GET
      • 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 Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
    • Zlecanie odświeżenia danych
      • Ogólne informacje
      • Create Refresh
      • Get Refresh
  1. pl-krz-wp-record

Get Limits

GET
/v1/models/pl-krz-wp-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-krz-wp-record/limits' \
--header 'Authorization;'
Response Response Example
200 - Success Example
{
    "max": {
        "api": 100,
        "api_files": 100,
        "api_get": 100,
        "api_search": 100,
        "files": 100,
        "records": 100,
        "records_api_get": 100,
        "records_api_search": 100,
        "reports": 0
    },
    "used": {
        "api": 34,
        "api_files": 0,
        "api_get": 0,
        "api_search": 34,
        "files": 0,
        "records": 38,
        "records_api_get": 0,
        "records_api_search": 38,
        "reports": 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
Default:
{}
Additional properties
integer 
optional
used
object 
optional
Aktualne wartości
Default:
{}
Additional properties
integer 
optional
🟠404Not Found
🟢204No Content
🟠400Bad request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠422Parameter Error
Modified at 2025-07-18 16:10:34
Previous
Stream Records
Next
Get Projections
Built with