### API Versioning Source: https://api.cepik.gov.pl/doc/index Endpoints related to API version information. ```APIDOC ## GET /v1/version ### Description Retrieves information about the current version of the API (v1). ### Method GET ### Endpoint /v1/version ### Parameters None ### Response #### Success Response (200) - **version** (string) - The current API version. ### Response Example { "version": "1.0.0" } ``` ```APIDOC ## GET /version ### Description Retrieves information about the current API version (latest). ### Method GET ### Endpoint /version ### Parameters None ### Response #### Success Response (200) - **version** (string) - The current API version. ### Response Example { "version": "1.0.0" } ``` -------------------------------- ### File Information API Source: https://api.cepik.gov.pl/doc/index Methods for accessing information about files containing vehicle data from the CEPiK database. Includes endpoints for retrieving a list of files or specific file details by ID. ```APIDOC ## GET /pliki ### Description Retrieves a list of files containing vehicle data from the CEPiK database. ### Method GET ### Endpoint /pliki ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of files. ### Response Example { "data": [ { "type": "files", "id": "file-abc-123", "attributes": { "name": "vehicles_2023-01-01.zip", "size_bytes": 1024000 } } ] } ``` ```APIDOC ## GET /pliki/{id} ### Description Retrieves specific information about a file using its ID. ### Method GET ### Endpoint /pliki/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The unique identifier of the file. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object representing the file's data. ### Response Example { "data": { "type": "files", "id": "file-abc-123", "attributes": { "name": "vehicles_2023-01-01.zip", "size_bytes": 1024000, "download_url": "http://example.com/files/vehicles_2023-01-01.zip" } } } ``` -------------------------------- ### Vehicle Operation Permissions API Source: https://api.cepik.gov.pl/doc/index Methods for accessing statistics on granted permissions to operate vehicles. Includes endpoints for retrieving general statistics or specific statistics by date. ```APIDOC ## GET /uprawnienia ### Description Retrieves statistics on the number of granted permissions to operate vehicles. ### Method GET ### Endpoint /uprawnienia ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of vehicle operation permissions statistics. ### Response Example { "data": [ { "type": "vehicle_operation_permissions", "id": "2023-01-01", "attributes": { "date": "2023-01-01", "total_granted": 2000 } } ] } ``` ```APIDOC ## GET /uprawnienia/{id} ### Description Retrieves specific statistics on granted vehicle operation permissions for a given date ID. ### Method GET ### Endpoint /uprawnienia/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object representing the vehicle operation permissions statistics for the specified date. ### Response Example { "data": { "type": "vehicle_operation_permissions", "id": "2023-01-01", "attributes": { "date": "2023-01-01", "total_granted": 2000, "newly_granted": 75 } } } ``` -------------------------------- ### Dictionaries API Source: https://api.cepik.gov.pl/doc/index Methods for accessing information about various dictionaries used within CEPiK. Includes endpoints for listing available dictionaries or retrieving details of a specific dictionary. ```APIDOC ## GET /slowniki ### Description Retrieves a list of available dictionaries. ### Method GET ### Endpoint /slowniki ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of dictionaries. ### Response Example { "data": [ { "type": "dictionaries", "id": "vehicle_makes", "attributes": { "name": "Vehicle Makes", "description": "List of all vehicle makes." } } ] } ``` ```APIDOC ## GET /slowniki/{nazwa-slownika} ### Description Retrieves the content of a specific dictionary. ### Method GET ### Endpoint /slowniki/{nazwa-slownika} ### Parameters #### Path Parameters - **nazwa-slownika** (string) - Required - The name of the dictionary to retrieve. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object representing the dictionary content. ### Response Example { "data": { "type": "dictionary_items", "id": "vehicle_makes", "attributes": { "items": [ {"code": "TOY", "description": "Toyota"}, {"code": "HON", "description": "Honda"} ] } } } ``` -------------------------------- ### Vehicle Data API Source: https://api.cepik.gov.pl/doc/index Methods for accessing vehicle data from the CEPiK database. Includes endpoints for retrieving a list of vehicles or a specific vehicle by its ID. ```APIDOC ## GET /pojazdy ### Description Retrieves a list of vehicles from the CEPiK database. ### Method GET ### Endpoint /pojazdy ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of vehicles. ### Response Example { "data": [ { "type": "vehicles", "id": "123e4567-e89b-12d3-a456-426614174000", "attributes": { "make": "Toyota", "model": "Camry" } } ] } ``` ```APIDOC ## GET /pojazdy/{id} ### Description Retrieves a specific vehicle's data from the CEPiK database using its ID. ### Method GET ### Endpoint /pojazdy/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The unique identifier of the vehicle. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object representing the vehicle. ### Response Example { "data": { "type": "vehicles", "id": "123e4567-e89b-12d3-a456-426614174000", "attributes": { "make": "Toyota", "model": "Camry", "registration_number": "ABC 123" } } } ``` -------------------------------- ### API Statistics API Source: https://api.cepik.gov.pl/doc/index Methods for accessing statistics related to API usage. Includes endpoints for various statistics such as vehicle data, file access, and dictionary usage, filterable by date and region. ```APIDOC ## GET /statystyki ### Description Retrieves general API usage statistics. ### Method GET ### Endpoint /statystyki ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of general statistics. ### Response Example { "data": [ { "type": "api_statistics", "id": "daily_summary", "attributes": { "date": "2023-10-27", "total_requests": 5000, "unique_users": 120 } } ] } ``` ```APIDOC ## GET /statystyki/pojazdy/{data-statystyki} ### Description Retrieves statistics specifically for vehicle data access on a given date. ### Method GET ### Endpoint /statystyki/pojazdy/{data-statystyki} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with vehicle data statistics for the specified date. ### Response Example { "data": { "type": "vehicle_statistics", "id": "2023-10-27", "attributes": { "date": "2023-10-27", "requests_count": 1000, "unique_vehicles_accessed": 500 } } } ``` ```APIDOC ## GET /statystyki/pojazdy/{data-statystyki}/{wojewodztwo} ### Description Retrieves statistics for vehicle data access on a given date and for a specific voivodeship. ### Method GET ### Endpoint /statystyki/pojazdy/{data-statystyki}/{wojewodztwo} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). - **wojewodztwo** (string) - Required - The voivodeship code or name. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with vehicle data statistics for the specified date and voivodeship. ### Response Example { "data": { "type": "vehicle_statistics_by_region", "id": "2023-10-27-MA", "attributes": { "date": "2023-10-27", "voivodeship": "Mazowieckie", "requests_count": 200 } } } ``` ```APIDOC ## GET /statystyki/pliki ### Description Retrieves statistics related to file access in CEPiK. ### Method GET ### Endpoint /statystyki/pliki ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of file access statistics. ### Response Example { "data": [ { "type": "file_statistics", "id": "2023-10-27", "attributes": { "date": "2023-10-27", "files_downloaded": 50 } } ] } ``` ```APIDOC ## GET /statystyki/pliki/{data-statystyki} ### Description Retrieves file access statistics for a specific date. ### Method GET ### Endpoint /statystyki/pliki/{data-statystyki} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with file access statistics for the specified date. ### Response Example { "data": { "type": "file_statistics", "id": "2023-10-27", "attributes": { "date": "2023-10-27", "files_downloaded": 50, "total_size_downloaded_mb": 100 } } } ``` ```APIDOC ## GET /statystyki/pliki/{data-statystyki}/{id} ### Description Retrieves statistics for a specific file on a given date. ### Method GET ### Endpoint /statystyki/pliki/{data-statystyki}/{id} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). - **id** (string) - Required - The ID of the file. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with statistics for the specified file and date. ### Response Example { "data": { "type": "specific_file_statistics", "id": "file-abc-123-2023-10-27", "attributes": { "date": "2023-10-27", "file_id": "file-abc-123", "download_count": 10 } } } ``` ```APIDOC ## GET /statystyki/aktywnosc/{data-statystyki} ### Description Retrieves daily activity statistics for the API on a given date. ### Method GET ### Endpoint /statystyki/aktywnosc/{data-statystyki} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with daily API activity statistics. ### Response Example { "data": { "type": "daily_activity_statistics", "id": "2023-10-27", "attributes": { "date": "2023-10-27", "total_requests": 5000, "endpoints_hit": [ "/pojazdy", "/pliki" ] } } } ``` ```APIDOC ## GET /statystyki/aktywnosc/{data-statystyki}/{id} ### Description Retrieves activity statistics for a specific API endpoint on a given date. ### Method GET ### Endpoint /statystyki/aktywnosc/{data-statystyki}/{id} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). - **id** (string) - Required - The identifier of the API endpoint. ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with activity statistics for the specified endpoint and date. ### Response Example { "data": { "type": "endpoint_activity_statistics", "id": "/pojazdy-2023-10-27", "attributes": { "date": "2023-10-27", "endpoint": "/pojazdy", "requests_count": 1000 } } } ``` ```APIDOC ## GET /statystyki/slowniki/{data-statystyki} ### Description Retrieves statistics related to dictionary usage on a given date. ### Method GET ### Endpoint /statystyki/slowniki/{data-statystyki} ### Parameters #### Path Parameters - **data-statystyki** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object with dictionary usage statistics for the specified date. ### Response Example { "data": { "type": "dictionary_statistics", "id": "2023-10-27", "attributes": { "date": "2023-10-27", "dictionaries_accessed": [ "vehicle_makes", "vehicle_types" ], "total_dictionary_requests": 200 } } } ``` -------------------------------- ### Driving License Statistics API Source: https://api.cepik.gov.pl/doc/index Methods for accessing statistics on the number of driving licenses issued. Includes endpoints for retrieving general statistics or specific statistics by date. ```APIDOC ## GET /prawa-jazdy ### Description Retrieves statistics on the number of driving licenses issued. ### Method GET ### Endpoint /prawa-jazdy ### Parameters #### Query Parameters - **param1** (type) - Optional - Description ### Response #### Success Response (200) - **data** (array) - JSON-API compliant list of driving license statistics. ### Response Example { "data": [ { "type": "driving_license_statistics", "id": "2023-01-01", "attributes": { "date": "2023-01-01", "total_issued": 1500 } } ] } ``` ```APIDOC ## GET /prawa-jazdy/{id} ### Description Retrieves specific driving license statistics for a given date ID. ### Method GET ### Endpoint /prawa-jazdy/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The date for which to retrieve statistics (e.g., YYYY-MM-DD). ### Response #### Success Response (200) - **data** (object) - JSON-API compliant object representing the driving license statistics for the specified date. ### Response Example { "data": { "type": "driving_license_statistics", "id": "2023-01-01", "attributes": { "date": "2023-01-01", "total_issued": 1500, "newly_issued": 50 } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.