Manage Service: Get Released

Descrizione

Questa API permette di leggere il dettaglio del servizio nella sua versione approvata e attivata. È necessario inserire il service_id come path parameter.

Devi usare la nuova chiave manage per la gestione dei servizi.

Retrieve last published version of service

Retrieve last version of service published on IO Platform

GEThttps://api.io.pagopa.it/api/v1/manage/services/{serviceId}/release
Authorization
Path parameters
serviceId*string

ID of the service

Response

Fetched published service

Body
idstring
statusCmsServicePublicationStatusType (enum)

Service publication status

  • published: The service is visible in IO App to users
  • unpublished: The service is no longer visible in IO App to users, but remains in the institution's Back-Office, which can later choose to publish it again.
publishedunpublished
last_updateTimestamp (string (UTCISODateFromString))

A date-time field in ISO-8601 format and UTC timezone.

Example: "2018-10-13T00:00:00.000Z"
metadataCmsServiceMetadata (all of)

A set of service metadata properties

name*string
description*string
organization*CmsOrganization (object)
require_secure_channelboolean
authorized_recipientsarray of FiscalCode (string (FiscalCode))
authorized_cidrsarray of CIDR (string)

Allowed source IPs or CIDRs for this service. When empty, every IP address it's authorized to call the IO API on behalf of the service.

max_allowed_payment_amountinteger (int32)
Request
const response = await fetch('https://api.io.pagopa.it/api/v1/manage/services/{serviceId}/release', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "id": "text",
  "status": "published",
  "last_update": "2018-10-13T00:00:00.000Z",
  "metadata": {
    "web_url": "text",
    "app_ios": "text",
    "app_android": "text",
    "tos_url": "text",
    "privacy_url": "text",
    "address": "text",
    "phone": "text",
    "email": "text",
    "pec": "text",
    "cta": "text",
    "token_name": "text",
    "support_url": "text",
    "scope": "LOCAL",
    "topic": {
      "id": 3,
      "name": "Benessere sociale"
    }
  },
  "name": "text",
  "description": "text",
  "organization": {
    "name": "text",
    "fiscal_code": "12345678901",
    "department_name": "text"
  },
  "require_secure_channel": false,
  "authorized_recipients": [
    "SPNDNL80R13C555X"
  ],
  "authorized_cidrs": [
    "text"
  ]
}

Risorse utili

https://developer.io.italia.it/openapi.html#operation/cmsGetPublishedService