get https://example.com/core/v1/servers/organizations//subscriptions
Con este endpoint obtendremos todas las suscripciones de servidores asociadas a una organización
Prerequisitos
OrganizationId
Primero necesitaremos obtener el organizacionId al que pertenecemos.
Para obtener dicha información utilizaremos este endpoint :
GET : /api-gateway/core/v1/organizations
Ejemplo Respuesta :
{
"data": [
{
"id": "1",
"name": "Nombre Organizacion"
}
],
"meta": {
"correlationId": "5b1c3dc2-ffe9-4a72-8944-a75d385094f1",
"timestamp": "2025-05-05T14:26:10Z"
}
}
Resumen
-
Verbo HTTPS : GET
-
Endpoint :
/api-gateway/servers/v1/organizations/{organizationId}/subscriptions
-
Parámetros en el path : organizationId
-
Response
{
"data": [
{
"id": "7002",
"name": "Test Server",
"createdAt": "2025-04-11T12:03:15.000Z",
"updatedAt": "2025-04-11T12:03:31.000Z"
},
{
"id": "7005",
"name": "Servidores #1",
"createdAt": "2025-04-11T12:15:03.000Z",
"updatedAt": "2025-04-11T12:15:05.000Z"
}
],
"meta": {
"correlationId": "72569db4-32a8-42d1-ae66-6fcd65794dcb",
"timestamp": "2025-05-07T15:26:15Z"
}
}