v1
latestOpenAPI 3.0.12026-07-245303882.5 MBGerenciamento de Aplicação
Criar aplicação
Cria uma nova aplicação com credenciais de cliente OAuth2 no Keycloak. Configura automaticamente contas, redirecionamentos e configurações padrão se configuradas. Retorna a aplicação com segredo do cliente para configuração inicial.
post/open-keys/itp/api/v2/applications
Request body
Example request
{
"image": "https://example.com"
}Response
retornou com sucesso.
Example response
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"image": "https://example.com",
"accounts": [
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"owner": {
"cpfCnpj": "58764789000137",
"personType": "PESSOA_JURIDICA",
"name": "Marco Antonio de Brito"
},
"paymentAccount": {
"accountType": "CACC",
"ispb": "12345678",
"issuer": "1774",
"number": "1234567890"
},
"paymentKey": {
"keyType": "CPF",
"key": "12345678901"
}
}
],
"redirects": [
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"allowedRedirectUrl": "http://localhost:8080/*"
}
],
"webhooks": [
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"endpointBaseUrl": "https://itp.com/kong3",
"authentication": {
"authType": "bearer_token",
"data": {
"name": "<HEADER_NAME>",
"value": "<VALUE>",
"token": "<TOKEN>",
"username": "USERNAME",
"password": "PASSWORD"
},
"add_position": "header"
}
}
]
}