Plataforma (platform)

2.0info: 2.3.0 Datalake description: Datalake da Senior x-senior-domain: platform x-senior-domain-path: platform x-senior-service-path: datalake contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /platform/datalakesecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /anonymous/getDatasetData: post: description: Obtem os dados de um dataset do datalake e devolve como JSON x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – in: header name: X-Tenant description: Nome do tenant type: string – in: header name: X-TenantDomain description: Domínio tenant type: string – name: input in: body required: true schema: #/definitions/getDatasetDataRequest responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents – datasetId properties: totalElements: type: integer description: Total de elementos existentes totalPages: type: integer description: Total de páginas disponíveis contents: type: string description: Conteúdo datasetId: type: string description: ID do dataset 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericError get: description: Obtem os dados de um dataset do datalake e devolve como JSON x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – in: header name: X-Tenant description: Nome do tenant type: string – in: header name: X-TenantDomain description: Domínio tenant type: string – name: input in: body required: true schema: #/definitions/getDatasetDataRequest responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents – datasetId properties: totalElements: type: integer description: Total de elementos existentes totalPages: type: integer description: Total de páginas disponíveis contents: type: string description: Conteúdo datasetId: type: string description: ID do dataset 403: description: Permissão negada 400: description: Requisição inválida, parâmetros obrigatórios não informados ou campo informado incorretamente default: description: Error response schema: #/definitions/genericErrordefinitions: getDatasetDataRequest: type: object required: – domain – service – datasetId properties: offset: type: integer description: Página size: type: integer description: Máximo de registros orderBy: type: string description: Forma de ordenação filter: type: string description: Filtro de busca columns: type: array items: type: string description: Colunas domain: type: string description: Dominio do dataset service: type: string description: Serviço do dataset datasetId: type: string description: ID do dataset genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE