Skip to main content
GET
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
blobs
/
registration-certificates
Get files of all registration certificates
curl --request GET \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/blobs/registration-certificates \
  --header 'Authorization: Bearer <token>'
{
  "b79a613b-d1e4-4f1e-9a1d-61b585d11b51": {
    "frontSide": {
      "uuid": "a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890",
      "filename": "reg_cert_front.jpg",
      "uploaded": true,
      "secret": "some-secret-string-for-front",
      "itemId": 12345
    },
    "backSide": {
      "uuid": "f0e1d2c3-b4a5-6789-f0e1-d2c3b4a56789",
      "filename": "reg_cert_back.jpg",
      "uploaded": true,
      "secret": "some-secret-string-for-back",
      "itemId": 12346
    }
  },
  "c98d7e6f-a5b4-c3d2-e1f0-a9b8c7d6e5f4": {
    "frontSide": {
      "uuid": "98765432-10ab-cdef-1234-567890abcdef",
      "filename": "old_reg_cert_front.png",
      "uploaded": true,
      "secret": "another-secret-for-old-cert",
      "itemId": 9876
    }
  }
}
This endpoint deals with defining the name and content type of the files. Use Get a file download link to download the actual content of the files by providing the UUIDs and secret from the response.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

assetProviderCountryCode
string
required

Asset provider country code

Required string length: 2
assetProviderCode
string
required

Asset provider code

Required string length: 3
vehicleId
string
required

Id of vehicle

Query Parameters

regCertUuid
string<uuid>

Optional registration certificate id to filter the result by

Response

The files are separated by the registration certificate IDs

{key}
object