Informácie o prihlásenom používateľovi

Vráti identitu prihláseného používateľa

Changed on

Vráti identitu prihláseného používateľa.

Pozor, volanie je dostupné len pre OVM.

get/api/upvs/identity

Request

  • Base URL
    https://fix.slovensko-sk-api.staging.slovensko.digital
  • URL
    https://fix.slovensko-sk-api.staging.slovensko.digital/api/upvs/identity
  • Auth
    HTTP bearer

Response

Úspešne vrátená identita prihláseného používateľa.

OR

Example response

{
  "ids": [
    {
      "type": "sector_upvs",
      "value": "48e1fe89-ad95-46cf-b33a-5ddb76aea775"
    }
  ],
  "uri": "ico://sk/42156424",
  "type": "institution_of_public_administration",
  "status": "activated",
  "name": "Národná agentúra pre sieťové a elektronické služby",
  "various_ids": [
    {
      "type": {
        "id": 7,
        "name": "IČO (Identifikačné číslo organizácie)",
        "description": null
      },
      "specified": true
    }
  ],
  "upvs": {
    "edesk_status": "deliverable",
    "preferred_language": "sk"
  },
  "addresses": [
    {
      "type": "resident",
      "country": {
        "id": 0,
        "name": "Slovensko",
        "description": null
      },
      "municipality": {
        "id": 0,
        "name": "Trnava ",
        "description": null
      },
      "street": "Kollárova",
      "delivery_address": {
        "postal_code": 91702,
        "post_office_box": null,
        "recipient": null
      },
      "specified": true
    }
  ],
  "emails": [
    {
      "address": "mailto:test2012upvs@gmail.com"
    }
  ],
  "phones": [
    {
      "type": {
        "id": 1,
        "name": "Pevná sieť",
        "description": null
      }
    }
  ]
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • warning

      removed the optional property from the response with the status

    • info

      removed from the response body allOf list for the response status

    • warning

      added the new legal_entity enum value to the //// response property for the response status

    • info

      removed the corporate_body enum value from the //// response property for the response status