Podpisovanie

Vráti odpodpísané dáta.

Changed on

Vráti odpodpísané dáta (obsah podpísaného dokumentu).

post/api/cep/signed_data_content

Request

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

Request body

contentstring base64 required

Obsah objektu zakódovaný podľa Base64.

Example request

{
  "content": "UEsDBBQAAAgAANS0XU+K ..."
}

Response

Úspešné vrátenie odpodpísaných dát.

resultinteger required

Výsledok odpodpísania dát.

descriptionstring required

Popis výsledku.

Example response

{
  "description": "OK",
  "signed_objects": [
    {
      "id": "Vseobecna_agenda.xml",
      "mime_type": "application/xml",
      "name": "Vseobecna_agenda.xml",
      "data": "<GeneralAgenda xmlns=\"http://schemas.gov.sk/form/Doc.GeneralAgendaFiction/1.4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><subject>Slovensko.Digital</subject><text>Pozdrav zo Slovensko.DIgital. :)</text></GeneralAgenda>"
    }
  ],
  "unsigned_zepfzip_objects": [
    {
      "id": "Vseobecna_agenda.xml",
      "data": "<GeneralAgenda xmlns=\"http://schemas.gov.sk/form/Doc.GeneralAgendaFiction/1.4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><subject>Slovensko.Digital</subject><text>Pozdrav zo Slovensko.DIgital. :)</text></GeneralAgenda>"
    }
  ],
  "unsigned_asic_objects": [
    {
      "id": "Vseobecna_agenda.xml",
      "data": "<GeneralAgenda xmlns=\"http://schemas.gov.sk/form/Doc.GeneralAgendaFiction/1.4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><subject>Slovensko.Digital</subject><text>Pozdrav zo Slovensko.DIgital. :)</text></GeneralAgenda>"
    }
  ]
}

Changes