Overview
HTTP verbs
Management API tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP verbs.
| Verb | Usage | 
|---|---|
| 
 | Used to retrieve a resource | 
| 
 | Used to create a new resource | 
| 
 | Used to update an existing resource, including partial updates | 
| 
 | Used to delete an existing resource | 
HTTP status codes
Management API tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes.
| Status code | Usage | 
|---|---|
| 
 | The request completed successfully | 
| 
 | A new resource has been created successfully. The resource’s URI is available from the response’s
 | 
| 
 | An update to an existing resource has been applied successfully | 
| 
 | The request was malformed. The response body will include an error providing further information | 
| 
 | The requested resource did not exist | 
Errors
Whenever an error response (status code >= 400) is returned, the body will contain a JSON object that describes the problem. The error object has the following structure:
| Path | Type | Description | 
|---|---|---|
| 
 | 
 | A description of the cause of the error | 
| 
 | 
 | The HTTP error that occurred, e.g.  | 
| 
 | 
 | A list of errors containing the description of the cause of the errors | 
For example, a request that attempts to create a Tenant without a body will produce a
400 Bad Request response:
HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 175
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Invalid request body. Please check API docs for building correct request." ],
  "subErrors" : null
}Inconsistent Errors
| With API version 7.0.0 the all error responses have been replaced with the consistent format as described in Inconsistent Errors section. | 
Application Information
Management API is a Spring Boot application. In order to access general information regarding name, version, etc. please use the bellow request to do so:
GET /info HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comThe response will have the following format:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 135
{
  "name" : "axual-flux",
  "description" : "Platform Manager API - provides APIs to operate Axual resources",
  "version" : "7.4.0"
}API changelog
Please refer to API changelog to see the changelog with all bumped APIs in detail.
Deprecated APIs
Please refer to Deprecated APIs to see the list of deprecated APIs and their introduced alternatives.
Supported Databases
Management API uses Flyway to perform database migration.
We currently support:
| Provider | Version | 
|---|---|
| 
 | 10.2 | 
| 
 | 10.3 | 
| 
 | 8.0 | 
Hypermedia
Management API uses hypermedia and resources include links to other resources in their
responses. Responses are in Hypertext Application
from resource to resource.
Language (HAL) format. Links can be found beneath the _links key. Users of the API should
not create URIs themselves, instead they should use the above-described links to navigate
Paging
All collection resources return results with pagination. Pagination is also supported for search endpoints.
To access the first page of the results, call the endpoint with ?page=0 or nothing at all.
This will return by default a maximum of 20 results per page. To change this value, specify
size=10 to return 10 results per page.
The response includes various helper links to easily navigate between pages via prev and
next link and jump to first and last page.
A JSON object page at the end of the response summarizes the current page, total number of
elements and other relevant details.
See below example for more details.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | The page to retrieve | 
| 
 | Number of entries per page, default value is 20 | 
HTTP request
GET /tenants?page=0&size=5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 6434
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : { },
      "name" : "Super Test Tenant",
      "shortName" : "supertenant",
      "uniqueConsumerGroup" : true,
      "logo" : "supertenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/supertenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c24cad8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant cc",
      "shortName" : "clntntcc",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntntcc",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "BYOK Tenant",
      "shortName" : "BYOKtenant",
      "uniqueConsumerGroup" : true,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/BYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42had8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Limited BYOK Tenant",
      "shortName" : "LmtBYOKtnt",
      "uniqueConsumerGroup" : false,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/limitedBYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1248c97f04c42had8d9c97faa5a375bd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant aiven",
      "shortName" : "clntnt",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntnt",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1259c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 5,
    "totalElements" : 9,
    "totalPages" : 2,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | The first page of results | 
| 
 | The last page of results | 
| 
 | The next page of results | 
| 
 | The previous page of results | 
Response fields
| Path | Type | Description | 
|---|---|---|
| 
 | 
 | List of results | 
| 
 | 
 | Links to other resources and pages | 
| 
 | 
 | Summary of current page results | 
| 
 | 
 | Number of results in current page | 
| 
 | 
 | Total number of results available | 
| 
 | 
 | Total pages available | 
| 
 | 
 | Current page number (starting with zero) | 
Sorting
The keyword sort can be used on collection resources and search endpoints to
sort on given field name. Using the keyword asc or desc, the direction of
sorting can be changed.
Multiple fields can be used for sorting by using the request parameter
?sort=PROPERTY1&sort=PROPERTY2 and so on.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | The field to sort on. Multiple fields can be specified by adding  | 
HTTP request
GET /tenants?sort=shortName&size=5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 6434
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : { },
      "name" : "BYOK Tenant",
      "shortName" : "BYOKtenant",
      "uniqueConsumerGroup" : true,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/BYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42had8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant aiven",
      "shortName" : "clntnt",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntnt",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1259c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant cc",
      "shortName" : "clntntcc",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntntcc",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Limited BYOK Tenant",
      "shortName" : "LmtBYOKtnt",
      "uniqueConsumerGroup" : false,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/limitedBYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1248c97f04c42had8d9c97faa5a375bd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Super Test Tenant",
      "shortName" : "supertenant",
      "uniqueConsumerGroup" : true,
      "logo" : "supertenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/supertenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c24cad8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 5,
    "totalElements" : 9,
    "totalPages" : 2,
    "number" : 0
  }
}Security
Authentication
Axual is using Bearer Authentication. Every request must be authenticated.
Get the Bearer token:
curl --request POST \
 --url https://<your-installation-host>/auth/realms/<your-realm>/protocol/openid-connect/token \
 --header 'Content-Type: application/x-www-form-urlencoded' \
 --data client_id=self-service \
 --data username=<username> \
 --data password=<password> \
 --data realm=<your-realm> \
 --data grant_type=passwordAfter any Bearer token request, the response will contain an access_token which can be used as Bearer token in subsequent calls.
In the previous example request the API expects a POST body with username, password and realm fields.
Pass the Bearer token in the Authorization header:
curl -H 'Accept: application/json' -H "Authorization: {Bearer token}" https://{hostname}/api/myresourceExample GET request:
Curl request
$ curl 'http://api.example.com/applications' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'Example POST request:
Curl request
$ curl 'http://api.example.com/applications' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "applicationId" : "com.axual.turbulence.connector.application1",
  "name" : "Test Connector Application",
  "shortName" : "test_cnnt_app",
  "description" : "This is a connector test application",
  "applicationType" : "CONNECTOR",
  "type" : "sink",
  "applicationClass" : "io.axual.distributor.logger.MessageLogger",
  "applicationClassVersion" : "1.0.0",
  "visibility" : "PRIVATE",
  "owners" : "http://api.example.com/groups/514d4oit834841869644c2ad8b439997"
}'Get the authenticated user
GET /user
Returns all available information about the currently authenticated user.
GET /user HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1161
{
  "firstName" : "powerUser",
  "lastName" : "powerUser",
  "middleName" : null,
  "emailAddress" : {
    "email" : "poweruser@tenanta.nl"
  },
  "phoneNumber" : null,
  "roles" : [ {
    "name" : "STREAM_ADMIN"
  }, {
    "name" : "TENANT_ADMIN"
  }, {
    "name" : "APPLICATION_ADMIN"
  }, {
    "name" : "ENVIRONMENT_ADMIN"
  }, {
    "name" : "SUPER_ADMIN"
  } ],
  "fullName" : "powerUser powerUser",
  "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "templated" : true,
      "title" : "URI pointing to current request"
    },
    "user" : {
      "href" : "...",
      "templated" : true,
      "title" : "A user"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "assign_roles" : {
      "href" : "...",
      "title" : "Indication that authenticated user can assign roles to this user"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Get my groups
Returns all groups that currently authenticated user belongs to.
GET /group HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1444
{
  "_embedded" : {
    "groups" : [ {
      "name" : "Application-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "Stream-tenAApplication2",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "88eb98e0eff34fde923c15687e6d75d5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}Get my groups by name
Returns all groups that currently authenticated user belongs to by passing the name.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Property is to search by group name | 
HTTP request
GET /group?name=Stream-tenAApplication2 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 847
{
  "_embedded" : {
    "groups" : [ {
      "name" : "Stream-tenAApplication2",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "88eb98e0eff34fde923c15687e6d75d5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Get the authenticated tenant
GET /tenant
Returns the tenant of the logged-in user.
GET /tenant HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1024
{
  "properties" : {
    "replication.factor" : "1",
    "cleanup.policy" : "delete",
    "min.insync.replicas" : "1"
  },
  "name" : "TenantA",
  "shortName" : "tenanta",
  "uniqueConsumerGroup" : true,
  "logo" : "tenanta.png",
  "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
  "dataClassificationEnabled" : false,
  "supportedAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "wizardCompleted" : true,
  "customerId" : null,
  "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Resources
Index
The index provides the entry point into the service.
Accessing the index
A GET request is used to access the index
Response fields
| Path | Type | Description | 
|---|---|---|
| 
 | 
 | Links to other resources | 
HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 2539
{
  "_links" : {
    "application_access_grants" : {
      "href" : "...",
      "templated" : true
    },
    "integrities" : {
      "href" : "...",
      "templated" : true
    },
    "environments" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create environments"
    },
    "application_deployments" : {
      "href" : "...",
      "templated" : true
    },
    "application_access" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create ApplicationAccess"
    },
    "schema_versions" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create schema versions"
    },
    "applications" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create applications"
    },
    "users" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create users"
    },
    "tenants" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create tenants"
    },
    "support_tiers" : {
      "href" : "...",
      "templated" : true
    },
    "groups" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create groups"
    },
    "instances" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create instances"
    },
    "connect_plugins" : {
      "href" : "...",
      "templated" : true
    },
    "schemas" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create schemas"
    },
    "clusters" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create clusters"
    },
    "confidentialities" : {
      "href" : "...",
      "templated" : true
    },
    "application_credentials" : {
      "href" : "...",
      "templated" : true
    },
    "stream_configs" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create streams"
    },
    "streams" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create streams"
    },
    "application_principals" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access or create ApplicationPrincipals"
    },
    "group" : {
      "href" : "...",
      "title" : "A group"
    },
    "user" : {
      "href" : "...",
      "title" : "A user"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | The Users resource | 
| 
 | The Groups resource | 
| 
 | |
| 
 | |
| 
 | |
| 
 | The Tenants resource | 
| 
 | The Streams resource | 
| 
 | |
| 
 | The Schemas resource | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | Returns the authenticated user | 
| 
 | Returns the groups that authenticated user belongs to | 
| 
 | Returns the authenticated tenant | 
| 
 | The ALPS profile for the service | 
| 
 | Returns the confidentiality levels | 
| 
 | Returns the integrity | 
| 
 | Returns the support tiers | 
| 
 | |
| 
 | |
| 
 | 
AsyncAPI Specification
Generate and view AsyncAPI specification for any topic in Self-Service. Any authenticated user can view the AsyncAPI specification for a deployed topic.
View the AsyncAPI Specification as JSON
When proving a Request Header Accept: application/json the response will be in JSON format.
The AsyncAPI spec is included in the asyncApiSpec field.
Curl request
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2/asyncapi' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/json'HTTP request
GET /stream_configs/c082e097545948dcbd0cf993128d3fc2/asyncapi HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2400
{
  "asyncApiSpec" : "---\nasyncapi: \"2.6.0\"\ninfo:\n  title: \"AsyncAPI for Topic tenanta-stream1\"\n  version: \"1.0.0\"\n  description: \"description_tenanta-stream1\"\nservers:\n  Zone1 Cluster OTA:\n    url: \"bootstrapserver1:9093\"\n    protocol: \"kafka-secure\"\n    description: \"Zone1 Cluster OTA brokers\"\n    security:\n    - SASL_SCRAM_SHA_256: []\n    - SSL_MUTUAL_TLS: []\n    bindings:\n      kafka:\n      - schemaRegistryUrl: \"https://schema.local1,https://schema.local2\"\n      - schemaRegistryVendor: \"confluent\"\ndefaultContentType: \"application/json\"\nchannels:\n  tenanta-stream1:\n    description: \"description_tenanta-stream1\"\n    subscribe:\n      description: \"Consume message from tenanta-stream1\"\n      message:\n        $ref: \"#/components/messages/tenanta-stream1\"\n    publish:\n      description: \"Produce message into tenanta-stream1\"\n      message:\n        $ref: \"#/components/messages/tenanta-stream1\"\n    bindings:\n      kafka:\n      - topic: \"tenanta-ota-tenantaenv1-tenanta-stream1\"\n      - partitions: 12\n      - topicConfiguration:\n        - cleanup.policy: \"delete\"\n        - retention.ms: 10000\ncomponents:\n  messages:\n    tenanta-stream1:\n      name: \"tenanta-stream1\"\n      bindings:\n        payload:\n          type: \"record\"\n          name: \"Value\"\n          namespace: \"io.axual.qa.general\"\n          doc: \"Object type that is supposed to be filled with a Value.\"\n          fields:\n          - name: \"value\"\n            type: \"string\"\n            doc: \"The Value.\"\n        kafka:\n          key:\n            type: \"record\"\n            name: \"Key\"\n            namespace: \"io.axual.qa.general\"\n            doc: \"Object type that is supposed to be filled with a Key.\"\n            fields:\n            - name: \"key\"\n              type: \"string\"\n              doc: \"The Key.\"\n        schemaFormat: \"application/vnd.apache.avro;version=1.9.0\"\n  securitySchemes:\n    SASL_SCRAM_SHA_256:\n      type: \"scramSha256\"\n      description: \"Provide your username and password for SASL/SCRAM authentication\"\n    SSL_MUTUAL_TLS:\n      type: \"X509\"\n      description: \"Provide your certificate for Mutual TLS authentication\"\ntags:\n- name: \"Self-Service Link\"\n  description: \"Link to Axual Self-Service\"\n  externalDocs:\n    url: \"https://axual.cloud\"\n"
}View the AsyncAPI Specification as YAML
When proving a Request Header Accep: application/yaml the response will be in YAML format.
Curl request
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2/asyncapi' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/yaml'HTTP request
GET /stream_configs/c082e097545948dcbd0cf993128d3fc2/asyncapi HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/yaml
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/yaml
Content-Length: 2221
---
asyncapi: "2.6.0"
info:
  title: "AsyncAPI for Topic tenanta-stream1"
  version: "1.0.0"
  description: "description_tenanta-stream1"
servers:
  Zone1 Cluster OTA:
    url: "bootstrapserver1:9093"
    protocol: "kafka-secure"
    description: "Zone1 Cluster OTA brokers"
    security:
    - SASL_SCRAM_SHA_256: []
    - SSL_MUTUAL_TLS: []
    bindings:
      kafka:
      - schemaRegistryUrl: "https://schema.local1,https://schema.local2"
      - schemaRegistryVendor: "confluent"
defaultContentType: "application/json"
channels:
  tenanta-stream1:
    description: "description_tenanta-stream1"
    subscribe:
      description: "Consume message from tenanta-stream1"
      message:
        $ref: "#/components/messages/tenanta-stream1"
    publish:
      description: "Produce message into tenanta-stream1"
      message:
        $ref: "#/components/messages/tenanta-stream1"
    bindings:
      kafka:
      - topic: "tenanta-ota-tenantaenv1-tenanta-stream1"
      - partitions: 12
      - topicConfiguration:
        - cleanup.policy: "delete"
        - retention.ms: 10000
components:
  messages:
    tenanta-stream1:
      name: "tenanta-stream1"
      bindings:
        payload:
          type: "record"
          name: "Value"
          namespace: "io.axual.qa.general"
          doc: "Object type that is supposed to be filled with a Value."
          fields:
          - name: "value"
            type: "string"
            doc: "The Value."
        kafka:
          key:
            type: "record"
            name: "Key"
            namespace: "io.axual.qa.general"
            doc: "Object type that is supposed to be filled with a Key."
            fields:
            - name: "key"
              type: "string"
              doc: "The Key."
        schemaFormat: "application/vnd.apache.avro;version=1.9.0"
  securitySchemes:
    SASL_SCRAM_SHA_256:
      type: "scramSha256"
      description: "Provide your username and password for SASL/SCRAM authentication"
    SSL_MUTUAL_TLS:
      type: "X509"
      description: "Provide your certificate for Mutual TLS authentication"
tags:
- name: "Self-Service Link"
  description: "Link to Axual Self-Service"
  externalDocs:
    url: "https://axual.cloud"Auth
Management API acts as the Authorization service. All the requests passing through MGMT API are also authenticated against Keycloak or an OIDC provider.
The /auth base path for authentication / authorization endpoints.
Billing (Deprecated)
The billing resource uses the following json-schema:
Curl request
$ curl 'http://api.example.com/auth/billing' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /auth/billing HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OKGeneric auth
The auth endpoint can be used by all services to check if a user has authority to perform a certain action.
Curl request
$ curl 'http://api.example.com/auth?action=STREAM_CONFIG_VIEW&resourceType=STREAM_CONFIG&resourceUid=c082e097545948dcbd0cf993128d3fc2' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /auth?action=STREAM_CONFIG_VIEW&resourceType=STREAM_CONFIG&resourceUid=c082e097545948dcbd0cf993128d3fc2 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OKExternal Kafka Providers
Starting with Platform Manager version 7.0.0 we are supporting external kafka providers.
Supported Kafka Providers
- 
Aiven 
- 
Confluent Cloud 
Validate Provider Credentials
A POST request will validate provided credentials and return available services.
Based on the Kafka Provider the request will be different.
Aiven
When integrating with Aiven, the Axl-Provider-Type header has to be Aiven.
Additionally, provide Axl-Project-Id-Aiven and Axl-Auth-Token-Aiven in your request headers.
Request headers
| Name | Description | 
|---|---|
| 
 | The Axual Provider Type | 
| 
 | The Aiven Project the token is valid for | 
| 
 | The authorization token for Aiven API | 
HTTP request
POST /providers/validateCredentials HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Axl-Provider-Type: aiven
Axl-Auth-Token-Aiven: aiven-auth-token
Axl-Project-Id-Aiven: aiven-project
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENResponse body
{
  "credentialsValid" : true,
  "error" : null,
  "environments" : [ {
    "services" : [ {
      "kafkaCluster" : {
        "id" : "kafka-1",
        "url" : "kafka-1:8084"
      },
      "schemaRegistryClusters" : [ {
        "id" : "schema-registry-1",
        "url" : "schema-registry-1:8084"
      } ]
    } ],
    "environmentId" : null
  } ]
}Confluent Cloud (Cloud API Key)
When integrating with Confluent Cloud, the Axl-Provider-Type header has to be Confluent-Cloud.
Additionally, provide Axl-Api-Key-Confluent and Axl-Secret-Confluent in your request headers.
| Provide a Cloud API Key to retrieve available services. | 
Request headers
| Name | Description | 
|---|---|
| 
 | The Axual Provider Type | 
| 
 | The Confluent Cloud API Key to retrieve Environments and Clusters | 
| 
 | The Confluent Cloud secret associated with the API Key | 
HTTP request
POST /providers/validateCredentials HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Axl-Provider-Type: confluent-cloud
Axl-Api-Key-Confluent: cloud-api-key
Axl-Secret-Confluent: cloud-secret
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENResponse body
{
  "credentialsValid" : true,
  "error" : null,
  "environments" : [ {
    "services" : [ {
      "kafkaCluster" : {
        "id" : "kafka-1",
        "url" : "kafka-1:8084"
      },
      "schemaRegistryClusters" : [ {
        "id" : "schema-registry-1",
        "url" : "schema-registry-1:8084"
      } ]
    } ],
    "environmentId" : "env-1"
  } ]
}Retrieve Resource Counters
A POST request will discover the resources and return the number of discovered resources.
Based on the Kafka Provider the request will be different.
Aiven
When integrating with Aiven, the Axl-Provider-Type header has to be Aiven.
Additionally, provide Axl-Project-Id-Aiven, Axl-Auth-Token-Aiven, and Axl-Service-Name-Aiven in your request headers.
Request headers
| Name | Description | 
|---|---|
| 
 | The Axual Provider Type | 
| 
 | The Aiven Project the token is valid for | 
| 
 | The authorization token for Aiven API | 
| 
 | The Kafka Service Name used to discover resources | 
HTTP request
POST /providers/discoverResources HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Axl-Service-Name-Aiven: aiven-service-name
Axl-Provider-Type: aiven
Axl-Auth-Token-Aiven: aiven-auth-token
Axl-Project-Id-Aiven: aiven-project
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENResponse body
{
  "streams" : 1,
  "applications" : 1,
  "schemas" : 2
}Import Provider Information from wizard into Self-Service
The endpoint /wizard/topics is used to view, create, and import Kafka topics, ACLs and schemas from a kafka provider into Self-Service.
Any authenticated user with role TENANT_ADMIN is allowed to perform these actions on its own tenant.
Aiven
A GET request will retrieve all the Topic Details available for an External Aiven Kafka Cluster.
Curl request
$ curl 'http://api.example.com/wizard/streams' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Axl-Service-Name-Aiven: aiven-service-name' \
    -H 'Axl-Provider-Type: aiven' \
    -H 'Axl-Auth-Token-Aiven: aiven-auth-token' \
    -H 'Axl-Project-Id-Aiven: aiven-project'HTTP request
GET /wizard/streams HTTP/1.1
Authorization: Bearer token
realm: tenanta
Axl-Service-Name-Aiven: aiven-service-name
Axl-Provider-Type: aiven
Axl-Auth-Token-Aiven: aiven-auth-token
Axl-Project-Id-Aiven: aiven-project
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 24135
[ {
  "topicName" : "a-topic-name",
  "retentionTimeMs" : null,
  "configs" : {
    "cleanup.policy" : "delete"
  },
  "acls" : [ {
    "principal" : "CN=Example Topic Processor,O=Axual B.V.,L=Utrecht,C=NL",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMAkGA1UdEwQCMAAwHQYD\nVR0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0Cib5A8IQt763LL0cIXdBF5U/2FOrYz6Dobao\nYTO93TLirNFuefFe/xl2sBDUIAMqVIZWviKl0AYDIQKBgQDkZcsB3BacZNHeTkNF\na8txFIAOJfXf/jsriVMx3s7rmrSsC1J7MJwdAau3EU4UpwBXvmRh7PRHNi4M+d+B\nVCltVlbMytcP9EQbG4wznvo118vXUduYR2dHnx99eLxEP1r6FPd7Ng94vXOHgJGf\nyzR8AE6f3ZV71BQuKmemo2enAwKBgQC3iwDiIgHi0rCSMTTcRwg1inFu3/lgdd+0\njl9Jipm4+HgFTTLmNNn8lLtMgrlEaw402cErmAKnDAexjAY1cddDmPUSSF+z/juw\nJEMP7+/b9yK51W0o3W/CaI/VPKKDodfcmLaWmf2l665lhMPdAdL8pKI4ey66NguD\nmBEjgUQzzQKBgQDGY10IyoGhazmYneZ1AIMAQExS/coqvIvs7yWipeSaZhEVd+g3\nNSwFThQ3ugJWkhEMJkbPgKFW0csCXnEzx0UMwfg3fuF77DLUUQNhO3AfIMjgySuz\nhCJD5gXWWO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "TestUser",
    "password" : "P@ssw0rd",
    "accessType" : "WRITE",
    "applicationId" : null,
    "keyPairs" : { }
  }, {
    "principal" : "CN=Example Topic Processor,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g1inFu3/lgdd+0\njl9Jipm4+HgFTTLmNNn8lLtMgrlEaw402cErmAKnDAexjAY1cddDmPUSSF+z/juw\nJEMP7+/b9yK51W0o3W/CaI/VPKKDodfcmLaWmf2l665lhMPdAdL8pKI4ey66NguD\nmBEjgUQzzQKBgQDGY10IyoGhazmYneZ1AIMAQExS/coqvIvs7yWipeSaZhEVd+g3\nNSwFThQ3ugJWkhEMJkbPgKFW0csCXnEzx0UMwfg3fuF77DLUUQNhO3AfIMjgySuz\nhCJD5gXWWO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "TestUser",
    "password" : "P@ssw0rd",
    "accessType" : "READ",
    "applicationId" : "appID",
    "keyPairs" : { }
  }, {
    "principal" : "CN=Example Topic Processor,O=Axual B.V.,L=Utrecht,C=NL",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA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WO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "Test.User-1",
    "password" : "P@ssw0rd",
    "accessType" : "WRITE",
    "applicationId" : null,
    "keyPairs" : { }
  } ],
  "partitionCount" : 3,
  "replication" : null,
  "keySchema" : "{\n  \"type\": \"record\",\n  \"name\": \"Application\",\n  \"namespace\": \"io.axual.client.example.schema\",\n  \"doc\": \"Identification of an application\",\n  \"fields\": [\n    {\n      \"name\": \"name\",\n      \"type\": \"string\",\n      \"doc\": \"The name of the application\"\n    },\n    {\n      \"name\": \"version\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"(Optional) The application version\",\n      \"default\": null\n    },\n    {\n      \"name\": \"owner\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"The owner of the application\",\n      \"default\": null\n    }\n  ]\n}",
  "valueSchema" : "{\n  \"type\": \"record\",\n  \"name\": \"Application\",\n  \"namespace\": \"io.axual.client.example.schema\",\n  \"doc\": \"Identification of an application\",\n  \"fields\": [\n    {\n      \"name\": \"name\",\n      \"type\": \"string\",\n      \"doc\": \"The name of the application\"\n    },\n    {\n      \"name\": \"version\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"(Optional) The application version\",\n      \"default\": null\n    },\n    {\n      \"name\": \"owner\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"The owner of the application\",\n      \"default\": null\n    },\n    {\n      \"name\": \"description\",\n      \"type\": \"string\",\n      \"doc\": \"The description of the application\"\n    }\n  ]\n}"
} ]Confluent Cloud
A GET request will retrieve all the Topic Details available for an External Confluent Cloud Kafka Cluster.
| Provide the clusterNameof the cluster you are importing in order to store the Cluster Credentials in Vault. | 
Curl request
$ curl 'http://api.example.com/wizard/streams?clusterName=DTA+Cluster' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Axl-Sr-Url-Confluent: schema-registry-url' \
    -H 'Axl-Cluster-Id-Confluent: cluster-id' \
    -H 'Axl-Api-Key-Confluent: cloud-api-key' \
    -H 'Axl-Provider-Type: confluent-cloud' \
    -H 'Axl-Env-Id-Confluent: env-id' \
    -H 'Axl-Sr-Id-Confluent: schema-registry-id' \
    -H 'Axl-Secret-Confluent: cloud-secret' \
    -H 'Axl-Cluster-Url-Confluent: cluster-url'HTTP request
GET /wizard/streams?clusterName=DTA+Cluster HTTP/1.1
Authorization: Bearer token
realm: tenanta
Axl-Sr-Url-Confluent: schema-registry-url
Axl-Cluster-Id-Confluent: cluster-id
Axl-Api-Key-Confluent: cloud-api-key
Axl-Provider-Type: confluent-cloud
Axl-Env-Id-Confluent: env-id
Axl-Sr-Id-Confluent: schema-registry-id
Axl-Secret-Confluent: cloud-secret
Axl-Cluster-Url-Confluent: cluster-url
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 24135
[ {
  "topicName" : "a-topic-name",
  "retentionTimeMs" : null,
  "configs" : {
    "cleanup.policy" : "delete"
  },
  "acls" : [ {
    "principal" : "CN=Example Topic Processor,O=Axual B.V.,L=Utrecht,C=NL",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZ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KDodfcmLaWmf2l665lhMPdAdL8pKI4ey66NguD\nmBEjgUQzzQKBgQDGY10IyoGhazmYneZ1AIMAQExS/coqvIvs7yWipeSaZhEVd+g3\nNSwFThQ3ugJWkhEMJkbPgKFW0csCXnEzx0UMwfg3fuF77DLUUQNhO3AfIMjgySuz\nhCJD5gXWWO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "TestUser",
    "password" : "P@ssw0rd",
    "accessType" : "WRITE",
    "applicationId" : null,
    "keyPairs" : { }
  }, {
    "principal" : "CN=Example Topic Processor,O=Axual B.V.,L=Utrecht,C=NL",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8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qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "TestUser",
    "password" : "P@ssw0rd",
    "accessType" : "READ",
    "applicationId" : "appID",
    "keyPairs" : { }
  }, {
    "principal" : "CN=Example Topic Processor,O=Axual B.V.,L=Utrecht,C=NL",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1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1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "username" : "Test.User-1",
    "password" : "P@ssw0rd",
    "accessType" : "WRITE",
    "applicationId" : null,
    "keyPairs" : { }
  } ],
  "partitionCount" : 3,
  "replication" : null,
  "keySchema" : "{\n  \"type\": \"record\",\n  \"name\": \"Application\",\n  \"namespace\": \"io.axual.client.example.schema\",\n  \"doc\": \"Identification of an application\",\n  \"fields\": [\n    {\n      \"name\": \"name\",\n      \"type\": \"string\",\n      \"doc\": \"The name of the application\"\n    },\n    {\n      \"name\": \"version\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"(Optional) The application version\",\n      \"default\": null\n    },\n    {\n      \"name\": \"owner\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"The owner of the application\",\n      \"default\": null\n    }\n  ]\n}",
  "valueSchema" : "{\n  \"type\": \"record\",\n  \"name\": \"Application\",\n  \"namespace\": \"io.axual.client.example.schema\",\n  \"doc\": \"Identification of an application\",\n  \"fields\": [\n    {\n      \"name\": \"name\",\n      \"type\": \"string\",\n      \"doc\": \"The name of the application\"\n    },\n    {\n      \"name\": \"version\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"(Optional) The application version\",\n      \"default\": null\n    },\n    {\n      \"name\": \"owner\",\n      \"type\": [\n        \"null\",\n        \"string\"\n      ],\n      \"doc\": \"The owner of the application\",\n      \"default\": null\n    },\n    {\n      \"name\": \"description\",\n      \"type\": \"string\",\n      \"doc\": \"The description of the application\"\n    }\n  ]\n}"
} ]Import External Cluster’s Topics into Self Service
Aiven
A POST request will create base entities, and import all Kafka topics, ACLs, and schemas into the Self-Service.
Provide the clusterName and the purpose of the cluster you are importing.
Curl request
$ curl 'http://api.example.com/wizard/streams' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Axl-Service-Name-Aiven: aiven-service-name' \
    -H 'Axl-Provider-Type: aiven' \
    -H 'Axl-Auth-Token-Aiven: aiven-auth-token' \
    -H 'Axl-Project-Id-Aiven: aiven-project' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "clusterName" : "DTA Cluster",
  "purpose" : "np"
}'Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| clusterName | String | Name of the cluster to be created | |
| purpose | String | Purpose defining prod or non-prod. ( | 
HTTP request
POST /wizard/streams HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Axl-Service-Name-Aiven: aiven-service-name
Axl-Provider-Type: aiven
Axl-Auth-Token-Aiven: aiven-auth-token
Axl-Project-Id-Aiven: aiven-project
Content-Length: 55
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "clusterName" : "DTA Cluster",
  "purpose" : "np"
}HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 112
{
  "importedStreamCount" : 1,
  "importedACLCount" : 2,
  "importedSchemaCount" : 2,
  "groupName" : "Admins"
}Confluent Cloud
A POST request will create base entities, and import all Kafka topics, ACLs, and schemas into the Self-Service.
Provide the clusterName and the purpose of the cluster you are importing.
Curl request
$ curl 'http://api.example.com/wizard/streams' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Axl-Sr-Url-Confluent: schema-registry-url' \
    -H 'Axl-Cluster-Id-Confluent: cluster-id' \
    -H 'Axl-Api-Key-Confluent: cloud-api-key' \
    -H 'Axl-Provider-Type: confluent-cloud' \
    -H 'Axl-Env-Id-Confluent: env-id' \
    -H 'Axl-Sr-Id-Confluent: schema-registry-id' \
    -H 'Axl-Secret-Confluent: cloud-secret' \
    -H 'Axl-Cluster-Url-Confluent: cluster-url' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "clusterName" : "DTA Cluster",
  "purpose" : "np"
}'Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| clusterName | String | Name of the cluster to be created | |
| purpose | String | Purpose defining prod or non-prod. ( | 
HTTP request
POST /wizard/streams HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Axl-Sr-Url-Confluent: schema-registry-url
Axl-Cluster-Id-Confluent: cluster-id
Axl-Api-Key-Confluent: cloud-api-key
Axl-Provider-Type: confluent-cloud
Axl-Env-Id-Confluent: env-id
Axl-Sr-Id-Confluent: schema-registry-id
Axl-Secret-Confluent: cloud-secret
Axl-Cluster-Url-Confluent: cluster-url
Content-Length: 55
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "clusterName" : "DTA Cluster",
  "purpose" : "np"
}HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 112
{
  "importedStreamCount" : 1,
  "importedACLCount" : 1,
  "importedSchemaCount" : 2,
  "groupName" : "Admins"
}Offboard a cluster
The endpoint /offboard is used to delete all the information related to an onboarded cluster including deleting the user from Stripe.
Any authenticated user with role TENANT_ADMIN is allowed to perform this action on its own tenant.
A DELETE request will perform offboarding action for the tenant.
Curl request
$ curl 'http://api.example.com/offboard' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /offboard HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 200 OKClusters
A Cluster represents a set of servers working together to form a Kafka cluster. They are usually grouped by location/data center. An AEB Instance will be powered by one or more Clusters.
The clusters resources is used to create and list Clusters.
Cluster Schema
The clusters resource uses the following json-schema:
HTTP request
GET /profile/clusters HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 2059
{
  "title" : "Cluster",
  "properties" : {
    "topicPattern" : {
      "title" : "Topic pattern",
      "readOnly" : false,
      "type" : "string"
    },
    "multiTenant" : {
      "title" : "Multi tenant",
      "readOnly" : true,
      "type" : "boolean"
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "providerType" : {
      "title" : "Provider type",
      "readOnly" : false,
      "type" : "string"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "apiUrl" : {
      "title" : "Api url",
      "readOnly" : false,
      "type" : "string"
    },
    "groupPattern" : {
      "title" : "Group pattern",
      "readOnly" : false,
      "type" : "string"
    },
    "bootstrapServers" : {
      "title" : "Bootstrap servers",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/bootstrapServer"
      }
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "clusterBrowseUrl" : {
      "title" : "Cluster browse url",
      "readOnly" : false,
      "type" : "string"
    },
    "location" : {
      "title" : "Location",
      "readOnly" : false,
      "type" : "string"
    },
    "billingCloudEnabled" : {
      "title" : "Billing cloud enabled",
      "readOnly" : false,
      "type" : "boolean"
    },
    "transactionalPattern" : {
      "title" : "Transactional pattern",
      "readOnly" : false,
      "type" : "string"
    },
    "tenant" : {
      "title" : "Tenant",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    }
  },
  "definitions" : {
    "bootstrapServer" : {
      "type" : "object",
      "properties" : {
        "bootstrapServer" : {
          "title" : "Bootstrap server",
          "readOnly" : false,
          "type" : "string"
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all clusters
A GET request will list all the service’s Clusters.
| All clusters returned by this endpoint are public clusters and the clusters owned by the tenant. | 
Curl request
$ curl 'http://api.example.com/clusters' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /clusters HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 7249
{
  "_embedded" : {
    "clusters" : [ {
      "name" : "Zone2 Cluster OTA",
      "description" : "",
      "location" : "Zone2",
      "billingCloudEnabled" : true,
      "apiUrl" : "http://clusterapi-ota.zone2.local",
      "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "543c3b7d55634eba83b1472775c131c4",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "Zone2 Cluster LST",
      "description" : "",
      "location" : "Zone2",
      "billingCloudEnabled" : false,
      "apiUrl" : "http://clusterapi-lst.zone2.local",
      "clusterBrowseUrl" : "http://clusterbrowse-lst.zone2.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "5fe719191cd44798ab70322830800dbc",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "Zone1 Cluster OTA",
      "description" : "",
      "location" : "Zone1",
      "billingCloudEnabled" : true,
      "apiUrl" : "http://clusterapi-ota.zone1.local",
      "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
      "bootstrapServers" : [ {
        "bootstrapServer" : "bootstrapserver1:9093"
      } ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "66c12e25ab06458eac988f0d700fbe81",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "External Cluster",
      "description" : "First External Cluster for Tenant A",
      "location" : "AMS",
      "billingCloudEnabled" : false,
      "apiUrl" : null,
      "clusterBrowseUrl" : null,
      "bootstrapServers" : [ ],
      "providerType" : "confluent-cloud",
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "66c12e42ab06458eac420f0d700fbe81",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "Zone1 Cluster PROD",
      "description" : "",
      "location" : "Zone1",
      "billingCloudEnabled" : true,
      "apiUrl" : "http://clusterapi-prod.zone1.local",
      "clusterBrowseUrl" : "http://clusterbrowse-prod.zone1.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "db0766d053ca46d59b0a1af2817c535a",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "Zone1 Cluster LST",
      "description" : "",
      "location" : "Zone1",
      "billingCloudEnabled" : false,
      "apiUrl" : "http://clusterapi-lst.zone1.local",
      "clusterBrowseUrl" : "http://clusterbrowse-lst.zone1.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "f2e75fe2226745bea34ea9f56621f78f",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "show" : {
      "href" : "...",
      "title" : "Indication that an entity can be shown in menu"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 6,
    "totalPages" : 1,
    "number" : 0
  }
}Create a cluster
A POST request is used to create a Cluster.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the cluster. Must be unique. | Must match the regular expression  | 
| description | String | A short text summarizing the purpose of the cluster. | Size must be between 0 and 200 inclusive | 
| location | String | The data center or geographic name where this cluster is located. | Size must be between 0 and 50 inclusive | 
| apiUrl | String | URL of Cluster API. This will be used to manage the cluster from Axual API. | Must be a well-formed URL. Size must be between 0 and 255 inclusive | 
| clusterBrowseUrl | String | URL of Cluster Browse. This will be used to browse the cluster from Axual API. | Must be a well-formed URL. Size must be between 0 and 255 inclusive | 
| bootstrapServers | Array | Bootstrap servers URL’s of the cluster. | 
Curl request
$ curl 'http://api.example.com/clusters' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "Test Cluster ACC",
  "description" : "Test cluster for ACC in Best DC",
  "location" : "Best",
  "apiUrl" : "http://testcluster.acc.best.local",
  "clusterBrowseUrl" : "http://testclusterbrowse.acc.best.local:9999",
  "bootstrapServers" : [ {
    "bootstrapServer" : "bootstrapserver1:9092"
  }, {
    "bootstrapServer" : "bootstrapserver2:9092"
  } ]
}'HTTP request
POST /clusters HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 367
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "Test Cluster ACC",
  "description" : "Test cluster for ACC in Best DC",
  "location" : "Best",
  "apiUrl" : "http://testcluster.acc.best.local",
  "clusterBrowseUrl" : "http://testclusterbrowse.acc.best.local:9999",
  "bootstrapServers" : [ {
    "bootstrapServer" : "bootstrapserver1:9092"
  }, {
    "bootstrapServer" : "bootstrapserver2:9092"
  } ]
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Location: http://api.example.com/clusters/25036b2b7bbe454988d920413cc3697e
Content-Type: application/hal+json
Content-Length: 1051
{
  "name" : "Test Cluster ACC",
  "description" : "Test cluster for ACC in Best DC",
  "location" : "Best",
  "billingCloudEnabled" : false,
  "apiUrl" : "http://testcluster.acc.best.local",
  "clusterBrowseUrl" : "http://testclusterbrowse.acc.best.local:9999",
  "bootstrapServers" : [ {
    "bootstrapServer" : "bootstrapserver2:9092"
  }, {
    "bootstrapServer" : "bootstrapserver1:9092"
  } ],
  "providerType" : null,
  "topicPattern" : null,
  "groupPattern" : null,
  "transactionalPattern" : null,
  "multiTenant" : false,
  "uid" : "25036b2b7bbe454988d920413cc3697e",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "cluster" : {
      "href" : "...",
      "title" : "A cluster"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Retrieve a cluster
The clusters/{id} resource is used to retrieve, update and delete individual Clusters.
A GET request will retrieve the details of a Cluster.
Curl request
$ curl 'http://api.example.com/clusters/66c12e25ab06458eac988f0d700fbe81' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /clusters/66c12e25ab06458eac988f0d700fbe81 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Content-Type: application/hal+json
Content-Length: 958
{
  "name" : "Zone1 Cluster OTA",
  "description" : "",
  "location" : "Zone1",
  "billingCloudEnabled" : true,
  "apiUrl" : "http://clusterapi-ota.zone1.local",
  "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
  "bootstrapServers" : [ {
    "bootstrapServer" : "bootstrapserver1:9093"
  } ],
  "providerType" : null,
  "topicPattern" : null,
  "groupPattern" : null,
  "transactionalPattern" : null,
  "multiTenant" : false,
  "uid" : "66c12e25ab06458eac988f0d700fbe81",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "cluster" : {
      "href" : "...",
      "title" : "A cluster"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Update an cluster
A PATCH request is used to update a cluster.
To leave an attribute of an instance unchanged, any of the above may be omitted from the request.
Curl request
$ curl 'http://api.example.com/clusters/66c12e25ab06458eac988f0d700fbe81' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "modified description"
}'HTTP request
PATCH /clusters/66c12e25ab06458eac988f0d700fbe81 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 44
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "modified description"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Content-Type: application/hal+json
Content-Length: 978
{
  "name" : "Zone1 Cluster OTA",
  "description" : "modified description",
  "location" : "Zone1",
  "billingCloudEnabled" : true,
  "apiUrl" : "http://clusterapi-ota.zone1.local",
  "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
  "bootstrapServers" : [ {
    "bootstrapServer" : "bootstrapserver1:9093"
  } ],
  "providerType" : null,
  "topicPattern" : null,
  "groupPattern" : null,
  "transactionalPattern" : null,
  "multiTenant" : false,
  "uid" : "66c12e25ab06458eac988f0d700fbe81",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "cluster" : {
      "href" : "...",
      "title" : "A cluster"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Cluster search endpoints
/clusters/search/findByName
Search for a cluster by exact name.
| All clusters returned by this endpoint are public clusters and the clusters owned by the tenant. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Cluster name to search for. | 
HTTP request
GET /clusters/search/findByName?name=Zone1+Cluster+LST HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1733
{
  "_embedded" : {
    "clusters" : [ {
      "name" : "Zone1 Cluster LST",
      "description" : "",
      "location" : "Zone1",
      "billingCloudEnabled" : false,
      "apiUrl" : "http://clusterapi-lst.zone1.local",
      "clusterBrowseUrl" : "http://clusterbrowse-lst.zone1.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "f2e75fe2226745bea34ea9f56621f78f",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "show" : {
      "href" : "...",
      "title" : "Indication that an entity can be shown in menu"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/clusters/search/findByNameContaining
Search for a cluster by name containing search term.
| All clusters returned by this endpoint are public clusters and the clusters owned by the tenant. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Term to search within cluster name. | 
HTTP request
GET /clusters/search/findByNameContaining?name=lst HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 2784
{
  "_embedded" : {
    "clusters" : [ {
      "name" : "Zone2 Cluster LST",
      "description" : "",
      "location" : "Zone2",
      "billingCloudEnabled" : false,
      "apiUrl" : "http://clusterapi-lst.zone2.local",
      "clusterBrowseUrl" : "http://clusterbrowse-lst.zone2.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "5fe719191cd44798ab70322830800dbc",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "name" : "Zone1 Cluster LST",
      "description" : "",
      "location" : "Zone1",
      "billingCloudEnabled" : false,
      "apiUrl" : "http://clusterapi-lst.zone1.local",
      "clusterBrowseUrl" : "http://clusterbrowse-lst.zone1.local",
      "bootstrapServers" : [ ],
      "providerType" : null,
      "topicPattern" : null,
      "groupPattern" : null,
      "transactionalPattern" : null,
      "multiTenant" : false,
      "uid" : "f2e75fe2226745bea34ea9f56621f78f",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "cluster" : {
          "href" : "...",
          "title" : "A cluster"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "show" : {
      "href" : "...",
      "title" : "Indication that an entity can be shown in menu"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}Delete cluster endpoints
Deleting a cluster is a two-step process, a GET request to check the constraints followed by the DELETE request.
Delete cluster constraints
A GET request is used to get the constraints for deleting a cluster.
The constraint indicates that a cluster could be deleted if there are no instances defined for it.
The response shows that the cluster is deletable.
Curl request
$ curl 'http://api.example.com/clusters/f2e75fe2226745bea34ea9f56621f78f/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /clusters/f2e75fe2226745bea34ea9f56621f78f/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 52
{
  "canDelete" : true,
  "relatedInstances" : [ ]
}The response shows that the cluster is not deletable.
Curl request
$ curl 'http://api.example.com/clusters/543c3b7d55634eba83b1472775c131c4/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /clusters/543c3b7d55634eba83b1472775c131c4/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3542
{
  "canDelete" : false,
  "relatedInstances" : [ {
    "instanceId" : "6e37bcf4d4a44334924aa0f961286668",
    "tenant" : {
      "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "contact" : null,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "shortName" : "ota2"
  }, {
    "instanceId" : "b9301e9144324928911f7d83ec40c478",
    "tenant" : {
      "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "contact" : null,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "shortName" : "ota"
  }, {
    "instanceId" : "g7969bd9f3f7435aa6bc6c62cb960304",
    "tenant" : {
      "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "contact" : null,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "shortName" : "lst"
  } ]
}Delete a cluster
A DELETE request is used to delete a cluster.
Curl request
$ curl 'http://api.example.com/clusters/f2e75fe2226745bea34ea9f56621f78f' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /clusters/f2e75fe2226745bea34ea9f56621f78f HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersAuthentication Methods
Authentication Method represents an individual authentication method available for the system. Those authentication methods are driven by the clusters used by the system.
Usually a cluster supports SSL protocol as authentication method.
Additionally, clusters can support SASL protocol with SCRAM_SHA_256, SCRAM_SHA_512 or OAUTH_BEARER mechanism.
List all authentication methods
A GET request lists all authentication methods in the system. This operation can be done by an Axual admin or a Tenant admin only.
Curl request
$ curl 'http://api.example.com/authentication_methods' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /authentication_methods HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 289
[ {
  "protocol" : "SASL",
  "mechanism" : "SCRAM_SHA_256"
}, {
  "protocol" : "SASL",
  "mechanism" : "PLAIN"
}, {
  "protocol" : "SSL",
  "mechanism" : "MUTUAL_TLS"
}, {
  "protocol" : "SASL",
  "mechanism" : "SCRAM_SHA_512"
}, {
  "protocol" : "SASL",
  "mechanism" : "OAUTH_BEARER"
} ]Roles
Users can be assigned one or more roles.Each Role grants certain access to the Flux resources.
Valid Roles
Below are the list of roles that can be applied to any User of Flux.
| Role | Description | 
|---|---|
| 
 | Can manage Tenants, Instances and Clusters. | 
| 
 | Can do User and Group management. | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| 
 | Can  | 
| GROUP_ADMIN role is deprecated now and all the group management has moved to TENANT_ADMIN role. | 
Assigning Roles to Users
To assign a role to any user, send a PATCH request to the endpoint /users/uid/roles. The request
body should be an array of 1 or more roles as shown below:
HTTP request
PATCH /users/dc67596abe224691a363a230ca1e291e/roles HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 70
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "name" : "STREAM_ADMIN"
}, {
  "name" : "APPLICATION_AUTHOR"
} ]HTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersRequest fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| [].name | String | The name of the role to assign. | 
This operation will replace all existing roles with the new set of roles provided in the request.
If an invalid role is passed (not present in above table), a 400 Bad Request is returned.
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Invalid request body. Please check API docs for building correct request." ],
  "subErrors" : null
}Business rules when assigning roles
- 
Only TENANT_ADMINusers are allowed to assign roles for other users of same tenant.
- 
TENANT_ADMINusers can assign any roles exceptSUPER_ADMINrole.
- 
SUPER_ADMINusers can assign onlySUPER_ADMINrole to users of super tenant.
Tenants
Tenant represents an individual customer of Axual Event Bus (AEB). A tenant can have multiple environments that map to a particular instance of AEB. Tenant can also have multiple Streams on multiple Environments on a particular instance of AEB.
Tenants are never visible to a tenant user. Logged-in user can see basic information like name and logo of his own tenant
The tenants collection resource is used to create and list tenants.
Tenant schema
The tenants resource uses the following json-schema:
HTTP request
GET /profile/tenants HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 2703
{
  "title" : "Tenant",
  "properties" : {
    "uniqueConsumerGroup" : {
      "title" : "Unique consumer group",
      "readOnly" : false,
      "type" : "boolean"
    },
    "issuerUrl" : {
      "title" : "Issuer url",
      "readOnly" : false,
      "type" : "string"
    },
    "dataClassificationEnabled" : {
      "title" : "Data classification enabled",
      "readOnly" : false,
      "type" : "boolean"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "wizardCompleted" : {
      "title" : "Wizard completed",
      "readOnly" : false,
      "type" : "boolean"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "contact" : {
      "title" : "Contact",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "customerId" : {
      "title" : "Customer id",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "logo" : {
      "title" : "Logo",
      "readOnly" : false,
      "type" : "string"
    },
    "shortName" : {
      "title" : "Short name",
      "readOnly" : false,
      "type" : "string"
    },
    "supportedAuthenticationMethods" : {
      "title" : "Supported authentication methods",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/tenantAuthenticationMethods"
      }
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "properties" : {
      "title" : "Properties",
      "readOnly" : false,
      "type" : "object"
    }
  },
  "definitions" : {
    "tenantAuthenticationMethods" : {
      "type" : "object",
      "properties" : {
        "protocol" : {
          "title" : "Protocol",
          "readOnly" : false,
          "type" : "string"
        },
        "rank" : {
          "title" : "Rank",
          "readOnly" : false,
          "type" : "integer"
        },
        "mechanism" : {
          "title" : "Mechanism",
          "readOnly" : false,
          "type" : "string",
          "enum" : [ "MUTUAL_TLS", "SCRAM_SHA_256", "SCRAM_SHA_512", "OAUTH_BEARER", "PLAIN" ]
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all tenants
A GET request lists all tenants in the system. This operation can be done by an Axual
admin only.
Curl request
$ curl 'http://api.example.com/tenants' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /tenants HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 11744
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : { },
      "name" : "Super Test Tenant",
      "shortName" : "supertenant",
      "uniqueConsumerGroup" : true,
      "logo" : "supertenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/supertenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c24cad8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant cc",
      "shortName" : "clntntcc",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntntcc",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "BYOK Tenant",
      "shortName" : "BYOKtenant",
      "uniqueConsumerGroup" : true,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/BYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1149c97f04c42had8d9c97faa5a375ac",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Limited BYOK Tenant",
      "shortName" : "LmtBYOKtnt",
      "uniqueConsumerGroup" : false,
      "logo" : "BYOKtenant.png",
      "issuerUrl" : "http://api.example.com/auth/realms/limitedBYOKtenant",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1248c97f04c42had8d9c97faa5a375bd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "Clean Tenant aiven",
      "shortName" : "clntnt",
      "uniqueConsumerGroup" : true,
      "logo" : "clean.png",
      "issuerUrl" : "http://api.example.com/auth/realms/clntnt",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "1259c97f04c42ha69d9c97f420a375ac",
      "created_at" : "2023-03-10T03:16:23",
      "modified_at" : "2023-03-10T03:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantActiveSubscription",
      "shortName" : "tenantS",
      "uniqueConsumerGroup" : true,
      "logo" : "tenantActiveSubs.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenantActiveSubs",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "12we419629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : { },
      "name" : "TenantForSharedCluster",
      "shortName" : "tenantSC",
      "uniqueConsumerGroup" : true,
      "logo" : "tenantSharedCluster.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenantSharedCluster",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ ],
      "wizardCompleted" : false,
      "customerId" : null,
      "uid" : "23e42t9629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : {
        "replication.factor" : "9",
        "cleanup.policy" : "compact",
        "min.insync.replicas" : "9",
        "segment.ms" : "999999999"
      },
      "name" : "TenantB",
      "shortName" : "tenantb",
      "uniqueConsumerGroup" : true,
      "logo" : "tenantb.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenantb",
      "dataClassificationEnabled" : true,
      "supportedAuthenticationMethods" : [ {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "ddb92faaa7c74dfe9e579c69e3782fe8",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 9,
    "totalPages" : 1,
    "number" : 0
  }
}Create tenant
A POST request is used to create a new tenant. This operation can be done by an Axual
admin only.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | Full name of the tenant | Must match the regular expression  | 
| shortName | String | Short name of the tenant | Must match the regular expression  | 
| supportedAuthenticationMethods | Array | A list of supported authentication methods. If not specified, default value is SSL. Each authentication methods has a  | Must not be empty. Must not be null | 
| properties | Object | A list of Tenant specific variables in Key,Value format. | |
| retentionTime | Number | The time in milliseconds after which the messages can be deleted from all streams. This is an optional field. If not specified, default value is 7 days (604800000). | |
| partitions | Number | Defines the number of partitions configured for every stream of this tenant. This is an optional field. If not specified, default value is 12 | 
Curl request
$ curl 'http://api.example.com/tenants' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "Test Tenant",
  "shortName" : "test",
  "issuerUrl" : "http://some.issuer.url",
  "retentionTime" : 50000,
  "partitions" : 12,
  "supportedAuthenticationMethods" : [ {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256",
    "rank" : 0
  } ]
}'HTTP request
POST /tenants HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 265
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "Test Tenant",
  "shortName" : "test",
  "issuerUrl" : "http://some.issuer.url",
  "retentionTime" : 50000,
  "partitions" : 12,
  "supportedAuthenticationMethods" : [ {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256",
    "rank" : 0
  } ]
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:27:26 GMT
Location: http://api.example.com/tenants/674627f772a04d47825c1ec97eda016e
Content-Type: application/hal+json
Content-Length: 1074
{
  "properties" : {
    "cleanup.policy" : "delete"
  },
  "name" : "Test Tenant",
  "shortName" : "test",
  "uniqueConsumerGroup" : true,
  "logo" : null,
  "issuerUrl" : "http://some.issuer.url",
  "dataClassificationEnabled" : false,
  "supportedAuthenticationMethods" : [ {
    "rank" : 0,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  } ],
  "wizardCompleted" : false,
  "customerId" : null,
  "uid" : "674627f772a04d47825c1ec97eda016e",
  "created_at" : "2023-10-09T09:27:26.697418875",
  "modified_at" : "2023-10-09T09:27:26.697418875",
  "created_by" : "superadmin@supertesttenant.nl",
  "modified_by" : "superadmin@supertesttenant.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "contact" : {
      "href" : "...",
      "templated" : true,
      "title" : "Business contact of this tenant"
    }
  }
}Retrieve a tenant
The tenants/{id} item resource is used to retrieve, update and delete individual tenants.
A GET request will retrieve the details of a Tenant.
If, inside the details of a Tenant, is display _embedded property, it means the contact for the current Tenant is not yet set.
Otherwise, if it is present, the _embedded property contains all the user detail of the contact.
At the bottom of the details of a Tenant there are links that point directly to the User detail page of contact, if it is set already, otherwise the link point to 'ResourceNotFound'.
Curl request
$ curl 'http://api.example.com/tenants/55ef719629a94a07b9bf8ac0f3c495e5' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /tenants/55ef719629a94a07b9bf8ac0f3c495e5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 1251
{
  "properties" : {
    "replication.factor" : "1",
    "cleanup.policy" : "delete",
    "min.insync.replicas" : "1"
  },
  "name" : "TenantA",
  "shortName" : "tenanta",
  "uniqueConsumerGroup" : true,
  "logo" : "tenanta.png",
  "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
  "dataClassificationEnabled" : false,
  "supportedAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "wizardCompleted" : true,
  "customerId" : null,
  "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "contact" : {
      "href" : "...",
      "templated" : true,
      "title" : "Business contact of this tenant"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can edit this Tenant | 
Update a tenant name
A PATCH request is used to update a tenant. Only an Axual admin can perform this action.
$ curl 'http://api.example.com/tenants/55ef719629a94a07b9bf8ac0f3c495e5' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "New Tenant"
}'PATCH /tenants/55ef719629a94a07b9bf8ac0f3c495e5 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 27
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "New Tenant"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:27:26 GMT
Content-Type: application/hal+json
Content-Length: 1281
{
  "properties" : {
    "replication.factor" : "1",
    "cleanup.policy" : "delete",
    "min.insync.replicas" : "1"
  },
  "name" : "New Tenant",
  "shortName" : "tenanta",
  "uniqueConsumerGroup" : true,
  "logo" : "tenanta.png",
  "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
  "dataClassificationEnabled" : false,
  "supportedAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "wizardCompleted" : true,
  "customerId" : null,
  "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:27:26.734774566",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "contact" : {
      "href" : "...",
      "templated" : true,
      "title" : "Business contact of this tenant"
    }
  }
}Update tenant shortname
A PATCH request is used to update the tenant. Once the tenant is created, tenant shortname cannot be updated.
PATCH /tenants/55ef719629a94a07b9bf8ac0f3c495e5 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 32
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "shortName" : "New Tenant"
}HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 589
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "errmsg.invalid.tenant.shortName.Tenant.shortNameerrmsg.invalid.tenant.shortName.shortNameerrmsg.invalid.tenant.shortName.java.lang.StringTenant short-name can not be edited." ],
  "subErrors" : [ {
    "field" : "Tenant.shortName",
    "rejectedValue" : "New Tenant",
    "recommendedValues" : null,
    "errors" : [ "errmsg.invalid.tenant.shortName.Tenant.shortName", "errmsg.invalid.tenant.shortName.shortName", "errmsg.invalid.tenant.shortName.java.lang.String", "Tenant short-name can not be edited." ]
  } ]
}Update a tenant supported authentication methods
A PATCH request is used to update a tenant supportedAuthenticationMethods. These supportedAuthenticationMethods define which type of authentication will be required to any applications connecting to a tenant’s instance.
Each supportedAuthenticationMethods has a rank defining the order of importance, the lowest rank has the top priority.
Allowed values are:
| Protocol | Mechanism | 
|---|---|
| SSL | MUTUAL_TLS | 
| SASL | SCRAM_SHA_256 | 
| SASL | SCRAM_SHA_512 | 
| SASL | OAUTH_BEARER | 
$ curl 'http://api.example.com/tenants/55ef719629a94a07b9bf8ac0f3c495e5' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "supportedAuthenticationMethods" : [ {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256",
    "rank" : 2
  }, {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS",
    "rank" : 1
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_512",
    "rank" : 0
  }, {
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER",
    "rank" : 3
  } ]
}'PATCH /tenants/55ef719629a94a07b9bf8ac0f3c495e5 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 366
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "supportedAuthenticationMethods" : [ {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256",
    "rank" : 2
  }, {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS",
    "rank" : 1
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_512",
    "rank" : 0
  }, {
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER",
    "rank" : 3
  } ]
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:27:26 GMT
Content-Type: application/hal+json
Content-Length: 1360
{
  "properties" : {
    "replication.factor" : "1",
    "cleanup.policy" : "delete",
    "min.insync.replicas" : "1"
  },
  "name" : "TenantA",
  "shortName" : "tenanta",
  "uniqueConsumerGroup" : true,
  "logo" : "tenanta.png",
  "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
  "dataClassificationEnabled" : false,
  "supportedAuthenticationMethods" : [ {
    "rank" : 3,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  }, {
    "rank" : 0,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_512"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 1,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  } ],
  "wizardCompleted" : true,
  "customerId" : null,
  "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:27:26.893295848",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "contact" : {
      "href" : "...",
      "templated" : true,
      "title" : "Business contact of this tenant"
    }
  }
}Search endpoints
/tenants/search/findByName
Search for a tenant by exact name.
| Parameter | Description | 
|---|---|
| 
 | Exact name to search for. | 
GET /tenants/search/findByName?name=TenantA HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1614
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/tenants/search/findByNameContaining
Search for a tenant by name containing search term.
| Parameter | Description | 
|---|---|
| 
 | Term to search for within tenant name. | 
GET /tenants/search/findByNameContaining?name=TenantA HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 3205
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantActiveSubscription",
      "shortName" : "tenantS",
      "uniqueConsumerGroup" : true,
      "logo" : "tenantActiveSubs.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenantActiveSubs",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "12we419629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    }, {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}/tenants/search/findByShortName
Search for a tenant by exact short name.
| Parameter | Description | 
|---|---|
| 
 | Tenant short name to search for. | 
GET /tenants/search/findByShortName?shortName=tenanta HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1614
{
  "_embedded" : {
    "tenants" : [ {
      "properties" : {
        "replication.factor" : "1",
        "cleanup.policy" : "delete",
        "min.insync.replicas" : "1"
      },
      "name" : "TenantA",
      "shortName" : "tenanta",
      "uniqueConsumerGroup" : true,
      "logo" : "tenanta.png",
      "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
      "dataClassificationEnabled" : false,
      "supportedAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "wizardCompleted" : true,
      "customerId" : null,
      "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "contact" : {
          "href" : "...",
          "templated" : true,
          "title" : "Business contact of this tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Onboard Tenant With Shared Cluster
This POST endpoint is used to onboard a new tenant with the shared cluster.
Curl request
$ curl 'http://api.example.com/tenants/23e42t9629a94a07b9bf8ac0f3c495e5/onboard' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
POST /tenants/23e42t9629a94a07b9bf8ac0f3c495e5/onboard HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 200 OKUsers
A User is a person logging into Self-Service. Every user is identified by a unique email address
that also identifies the Tenant they belong to. A user can never see users of other tenant.
The /users resource is used to create and list users.
Users Schema
The /users resource uses the following json-schema:
GET /profile/users HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 2012
{
  "title" : "User",
  "properties" : {
    "firstName" : {
      "title" : "First name",
      "readOnly" : false,
      "type" : "string"
    },
    "lastName" : {
      "title" : "Last name",
      "readOnly" : false,
      "type" : "string"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "emailAddress" : {
      "title" : "Email address",
      "readOnly" : false,
      "type" : "object",
      "$ref" : "#/definitions/emailAddress"
    },
    "phoneNumber" : {
      "title" : "Phone number",
      "readOnly" : false,
      "type" : "string"
    },
    "roles" : {
      "title" : "Roles",
      "readOnly" : true,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/role"
      }
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "fullName" : {
      "title" : "Full name",
      "readOnly" : true,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "middleName" : {
      "title" : "Middle name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    }
  },
  "definitions" : {
    "emailAddress" : {
      "type" : "object",
      "properties" : {
        "email" : {
          "title" : "Email",
          "readOnly" : true,
          "type" : "string"
        }
      }
    },
    "role" : {
      "type" : "object",
      "properties" : {
        "name" : {
          "title" : "Name",
          "readOnly" : false,
          "type" : "string"
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all users
A GET request will list all users belonging to the same tenant as the logged in user.
Curl request
$ curl 'http://api.example.com/users' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /users HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 11826
{
  "_embedded" : {
    "users" : [ {
      "uid" : "007b994a6ab34165a93fd4c7a8db1388",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "kad",
      "emailAddress" : {
        "email" : "kadmember@tenanta.nl"
      },
      "lastName" : "member",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envOwner",
      "emailAddress" : {
        "email" : "envowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "1759cc36cacd4df38ed1b0336e22e06d",
      "middleName" : "van der",
      "phoneNumber" : null,
      "firstName" : "firstNameTest",
      "emailAddress" : {
        "email" : "testuser@tenanta.nl"
      },
      "lastName" : "lastNameTest",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "1ecbda9a995f4ab2a4c95716087b21c7",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "po2",
      "emailAddress" : {
        "email" : "po2@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "1ecbda9a995f4ab2a4c95716087b21c8",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "streamOwner",
      "emailAddress" : {
        "email" : "streamowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "3cab41ad252e48a49631d1346d227a17",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "strAuthor",
      "emailAddress" : {
        "email" : "strauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "51234a7a81994d1ca35ca7894cde08c6",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appOwner",
      "emailAddress" : {
        "email" : "appowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "51234a7a81994d1ca35ca7894cde08c9",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "po1",
      "emailAddress" : {
        "email" : "po1@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "7cb463240b8049578b298c214c28512a",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAdmin",
      "emailAddress" : {
        "email" : "envadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAuthor",
      "emailAddress" : {
        "email" : "envauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "a0018341100c431d8a8117be2ad12d8a",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "strAdmin",
      "emailAddress" : {
        "email" : "stradmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "caa51002633244ffbe36f4ccf8a8f501",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appAdmin",
      "emailAddress" : {
        "email" : "appadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "powerUser",
      "emailAddress" : {
        "email" : "poweruser@tenanta.nl"
      },
      "lastName" : "powerUser",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "dc67596abe224691a363a230ca1e291e",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "regular",
      "emailAddress" : {
        "email" : "regularuser@tenanta.nl"
      },
      "lastName" : "user",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appAuthor",
      "emailAddress" : {
        "email" : "appauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "ea0e7f147d224133a151bdc69f5bb613",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "billingViewer",
      "emailAddress" : {
        "email" : "billingViewer@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "ea0e7f147df84179a151bdc21f5bb813",
      "middleName" : "middleName",
      "phoneNumber" : null,
      "firstName" : "tenAdmin",
      "emailAddress" : {
        "email" : "tenadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "eb1f7f147df84179a151bdc21f5bb924",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "supAdmin",
      "emailAddress" : {
        "email" : "supadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "fc287f147df84179a151bdc21f5cc835",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "billingInternal",
      "emailAddress" : {
        "email" : "billingInternal@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 19,
    "totalPages" : 1,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can create a User | 
Retrieve a user
The /users/{id} item resource is used to retrieve, update individual users.
A GET request will retrieve the details of a User.
Curl request
$ curl 'http://api.example.com/users/dc67596abe224691a363a230ca1e291e' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /users/dc67596abe224691a363a230ca1e291e HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 1013
{
  "firstName" : "regular",
  "lastName" : "user",
  "middleName" : null,
  "emailAddress" : {
    "email" : "regularuser@tenanta.nl"
  },
  "phoneNumber" : null,
  "roles" : [ ],
  "fullName" : "regular user",
  "uid" : "dc67596abe224691a363a230ca1e291e",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "user" : {
      "href" : "...",
      "templated" : true,
      "title" : "A user"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "assign_roles" : {
      "href" : "...",
      "title" : "Indication that authenticated user can assign roles to this user"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can edit the User | 
| 
 | Existence of this link indicates that the currently authenticated user can assign roles to this user | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this user | 
Create User
| The endpoint /usersis now deprecated. Please contact the Administration team regarding the topic of creating new Users. | 
A POST request is used to create a new User. This operation can be done by a Tenant Admin only.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| firstName | String | The first name of the user | Must not be empty. Size must be between 1 and 50 inclusive | 
| lastName | String | The last name of the user | Must not be empty. Size must be between 1 and 50 inclusive | 
| middleName | String | The  | Size must be between 0 and 16 inclusive | 
| emailAddress | String | The complete mail address of the user | |
| password | String | The password of the user | Size must be between 0 and 72 inclusive | 
| phoneNumber | String | The phoneNumber of the user | This is an optional field. Must be a valid phone number like +31612345678 or 0612345678. | 
Curl request
$ curl 'http://api.example.com/users' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "firstName" : "User",
  "lastName" : "Vrij",
  "middleName" : "van",
  "emailAddress" : "user.van.vrij@tenanta.nl",
  "password" : "notsecret",
  "phoneNumber" : "0612345678"
}'HTTP request
POST /users HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 180
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "firstName" : "User",
  "lastName" : "Vrij",
  "middleName" : "van",
  "emailAddress" : "user.van.vrij@tenanta.nl",
  "password" : "notsecret",
  "phoneNumber" : "0612345678"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:27:11 GMT
Location: http://api.example.com/users/a59f93b0906e47a8a0e342fe34ee282b
Content-Type: application/hal+json
Content-Length: 1076
{
  "firstName" : "User",
  "lastName" : "Vrij",
  "middleName" : "van",
  "emailAddress" : {
    "email" : "user.van.vrij@tenanta.nl"
  },
  "phoneNumber" : "0612345678",
  "roles" : [ ],
  "fullName" : "User van Vrij",
  "uid" : "a59f93b0906e47a8a0e342fe34ee282b",
  "created_at" : "2023-10-09T09:27:11.395377603",
  "modified_at" : "2023-10-09T09:27:11.395377603",
  "created_by" : "tenadmin@tenanta.nl",
  "modified_by" : "tenadmin@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "user" : {
      "href" : "...",
      "templated" : true,
      "title" : "A user"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "assign_roles" : {
      "href" : "...",
      "title" : "Indication that authenticated user can assign roles to this user"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Update user
A PATCH request is used to update a User.
Update phoneNumber
$ curl 'http://api.example.com/users/dc67596abe224691a363a230ca1e291e' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "phoneNumber" : "+31063433333"
}'PATCH /users/dc67596abe224691a363a230ca1e291e HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 36
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "phoneNumber" : "+31063433333"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 1023
{
  "firstName" : "regular",
  "lastName" : "user",
  "middleName" : null,
  "emailAddress" : {
    "email" : "regularuser@tenanta.nl"
  },
  "phoneNumber" : "+31063433333",
  "roles" : [ ],
  "fullName" : "regular user",
  "uid" : "dc67596abe224691a363a230ca1e291e",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "user" : {
      "href" : "...",
      "templated" : true,
      "title" : "A user"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "assign_roles" : {
      "href" : "...",
      "title" : "Indication that authenticated user can assign roles to this user"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "tenant" : {
      "href" : "...",
      "title" : "A tenant"
    }
  }
}Delete user
A DELETE request is used to delete a User.
$ curl 'http://api.example.com/users/007b994a6ab34165a93fd4c7a8db1388' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /users/007b994a6ab34165a93fd4c7a8db1388 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersUsers search endpoints
/users/search/findByFirstName
Returns all users with firstName containing the given firstName.
| Parameter | Description | 
|---|---|
| 
 | A name or part of name | 
GET /users/search/findByFirstName?firstName=poweruser HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 953
{
  "_embedded" : {
    "users" : [ {
      "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "powerUser",
      "emailAddress" : {
        "email" : "poweruser@tenanta.nl"
      },
      "lastName" : "powerUser",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/users/search/findByLastName
Returns all users with lastName containing the given lastName.
| Parameter | Description | 
|---|---|
| 
 | A surname or part of surname | 
GET /users/search/findByLastName?lastName=lastNameTest HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 964
{
  "_embedded" : {
    "users" : [ {
      "uid" : "1759cc36cacd4df38ed1b0336e22e06d",
      "middleName" : "van der",
      "phoneNumber" : null,
      "firstName" : "firstNameTest",
      "emailAddress" : {
        "email" : "testuser@tenanta.nl"
      },
      "lastName" : "lastNameTest",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/users/search/searchUser
Returns all users with firstName, middleName, lastName, localPart  containing the given searchKeyword.
| Parameter | Description | 
|---|---|
| 
 | The key word used to search | 
GET /users/search/searchUser?searchKeyword=tenAdmin HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 957
{
  "_embedded" : {
    "users" : [ {
      "uid" : "ea0e7f147df84179a151bdc21f5bb813",
      "middleName" : "middleName",
      "phoneNumber" : null,
      "firstName" : "tenAdmin",
      "emailAddress" : {
        "email" : "tenadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/users/search/findByRole
Returns all users with given roles. Pass the name of the role as parameter.
| Parameter | Description | 
|---|---|
| 
 | The name of role | 
GET /users/search/findByRole?role=TENANT_ADMIN HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1551
{
  "_embedded" : {
    "users" : [ {
      "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "powerUser",
      "emailAddress" : {
        "email" : "poweruser@tenanta.nl"
      },
      "lastName" : "powerUser",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    }, {
      "uid" : "ea0e7f147df84179a151bdc21f5bb813",
      "middleName" : "middleName",
      "phoneNumber" : null,
      "firstName" : "tenAdmin",
      "emailAddress" : {
        "email" : "tenadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}/users/search/findByEmailAddress
Return user with emailAddress as the given emailAddress
| Parameter | Description | 
|---|---|
| 
 | A valid  | 
GET /users/search/findByEmailAddress?email=appowner%40tenanta.nl HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 745
{
  "_embedded" : {
    "users" : [ {
      "uid" : "51234a7a81994d1ca35ca7894cde08c6",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appOwner",
      "emailAddress" : {
        "email" : "appowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "user" : {
          "href" : "...",
          "templated" : true,
          "title" : "A user"
        },
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Groups
A group in Flux represents a DevOps team within a tenant. Although different tenants may have
different names for their teams, in Flux, they are represented by a group.
Group permissions
Every group can have zero or more users. Being a member of a group grants you certain permissions.
The permission depends on the resource the group owns. If a group is owner of an application, every
member of that group will have full rights on that application. This includes editing and even
deleting the application.
Any group can be attached to an application, stream or environment. These resources have
a owners field which represent the group that owns the resource. A resource can exist without
any group owning it.
When listing a resource that has an existing 'owners' group, it will be show as embedded object of the resource.
If the resource has no 'owners' group, it will be not shown as embedded object of the resource.
Group schema
The groups resource uses the following json-schema:
GET /profile/groups HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1428
{
  "title" : "Group",
  "properties" : {
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "emailAddress" : {
      "title" : "Email address",
      "readOnly" : false,
      "type" : "object",
      "$ref" : "#/definitions/emailAddress"
    },
    "phoneNumber" : {
      "title" : "Phone number",
      "readOnly" : false,
      "type" : "string"
    },
    "members" : {
      "title" : "Members",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    }
  },
  "definitions" : {
    "emailAddress" : {
      "type" : "object",
      "properties" : {
        "email" : {
          "title" : "Email",
          "readOnly" : true,
          "type" : "string"
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all groups
A GET request will list all the groups visible to the currently logged in user.
Curl request
$ curl 'http://api.example.com/groups' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /groups HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 6642
{
  "_embedded" : {
    "groups" : [ {
      "name" : "Stream-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Team Null",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "514d4e9a834841699644c2420b439553",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Team Kad",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "514d4e9a834841869644c2ad8b439553",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Team Gone",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "514d4oit834841869644c2ad8b439553",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Team App Admins",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "514d4oit834841869644c2ad8b439997",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Stream-tenAApplication2",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "88eb98e0eff34fde923c15687e6d75d5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Environment-tenAenv1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Application-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    }, {
      "name" : "Environment-tenAprivenv2",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "d40d27a07da04096a592aeef9a029cda",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 9,
    "totalPages" : 1,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can create a Group | 
Create group
A POST request is used to create a new group. A group can only be created by a user having
GROUP_ADMIN role.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the group. | Must match the regular expression  | 
| members | Array | Users belonging to this group. This field would be absent if group has no members. | |
| emailAddress | String | Email address of this group. Optional. | |
| phoneNumber | String | Phone number to contact this group. Optional. | Must be a valid phone number like +31612345678 or 0612345678. | 
Curl request
$ curl 'http://api.example.com/groups' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "Team Amazing",
  "emailAddress" : "team.amazing@tenanta.nl",
  "phoneNumber" : "+31612345678",
  "members" : [ "http://api.example.com/users/9e66c8d7cd5c4e509ec0fe840ef37c62" ]
}'HTTP request
POST /groups HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 192
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "Team Amazing",
  "emailAddress" : "team.amazing@tenanta.nl",
  "phoneNumber" : "+31612345678",
  "members" : [ "http://api.example.com/users/9e66c8d7cd5c4e509ec0fe840ef37c62" ]
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:26:41 GMT
Location: http://api.example.com/groups/5c24a2c901ff48bcb4c7218da7257322
Content-Type: application/hal+json
Content-Length: 1448
{
  "name" : "Team Amazing",
  "emailAddress" : {
    "email" : "team.amazing@tenanta.nl"
  },
  "phoneNumber" : "+31612345678",
  "uid" : "5c24a2c901ff48bcb4c7218da7257322",
  "created_at" : "2023-10-09T09:26:41.699135331",
  "modified_at" : "2023-10-09T09:26:41.699135331",
  "created_by" : "tenadmin@tenanta.nl",
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "members" : [ {
      "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAuthor",
      "emailAddress" : {
        "email" : "envauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "group" : {
      "href" : "...",
      "templated" : true,
      "title" : "A group"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "members" : {
      "href" : "...",
      "templated" : true,
      "title" : "Users belonging to this group"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | The members of this Group can be found at this link. This link is also used add/remove users from this group. | 
Retrieve a group
A GET request on /groups/{id} will fetch the details of the group.
HTTP request
GET /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Content-Type: application/hal+json
Content-Length: 2352
{
  "name" : "Application-tenAApplication1",
  "emailAddress" : null,
  "phoneNumber" : null,
  "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : null,
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "members" : [ {
      "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAuthor",
      "emailAddress" : {
        "email" : "envauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "uid" : "7cb463240b8049578b298c214c28512a",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAdmin",
      "emailAddress" : {
        "email" : "envadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "uid" : "51234a7a81994d1ca35ca7894cde08c6",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appOwner",
      "emailAddress" : {
        "email" : "appowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "group" : {
      "href" : "...",
      "templated" : true,
      "title" : "A group"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "members" : {
      "href" : "...",
      "templated" : true,
      "title" : "Users belonging to this group"
    }
  }
}Response fields
| Path | Type | Description | 
|---|---|---|
| 
 | 
 | The name of the group. | 
| 
 | 
 | Users belonging to this group. This field would be absent if group has no members. | 
Links
| Relation | Description | 
|---|---|
| 
 | The members of this Group can be found at this link. This link is also used add/remove users from this group. | 
| 
 | Existence of this link indicates that the currently authenticated user can edit the Group | 
| 
 | Existence of this link indicates that the currently authenticated user can delete the Group | 
Update a Group
A PATCH request is used to update a Group. Below is an example where name of the group is modified.
$ curl 'http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "Team Medallion"
}'PATCH /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 31
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "Team Medallion"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Content-Type: application/hal+json
Content-Length: 2231
{
  "name" : "Team Medallion",
  "emailAddress" : null,
  "phoneNumber" : null,
  "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : null,
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "members" : [ {
      "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAuthor",
      "emailAddress" : {
        "email" : "envauthor@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "uid" : "7cb463240b8049578b298c214c28512a",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "envAdmin",
      "emailAddress" : {
        "email" : "envadmin@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "uid" : "51234a7a81994d1ca35ca7894cde08c6",
      "middleName" : null,
      "phoneNumber" : null,
      "firstName" : "appOwner",
      "emailAddress" : {
        "email" : "appowner@tenanta.nl"
      },
      "lastName" : "TenantA",
      "_links" : {
        "tenant" : {
          "href" : "...",
          "title" : "A tenant"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "group" : {
      "href" : "...",
      "templated" : true,
      "title" : "A group"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "members" : {
      "href" : "...",
      "templated" : true,
      "title" : "Users belonging to this group"
    }
  }
}Delete endpoints
Deleting group is a two-step process a GET request to check the constraints followed by the DELETE request
Delete group constraints
A GET request is used to get the constraints for deleting Group.
$ curl 'http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 102
{
  "canDelete" : false,
  "environmentsCount" : 0,
  "applicationsCount" : 24,
  "streamsCount" : 0
}Delete group
A DELETE request is used to delete a Group.
$ curl 'http://api.example.com/groups/514d4oit834841869644c2ad8b439553' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /groups/514d4oit834841869644c2ad8b439553 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersAdd user to group
To add an existing user to a group, a POST request to the members link must be placed with
the URI of the user in request body as shown below. The Content-Type header should be set
to text/uri-list. To add multiple users in 1 request, specify multiple URIs in separate lines.
$ curl 'http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members' -i -X POST \
    -H 'Content-Type: text/uri-list' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d 'http://localhost/users/dc67596abe224691a363a230ca1e291e'POST /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members HTTP/1.1
Content-Type: text/uri-list
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 55
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
http://localhost/users/dc67596abe224691a363a230ca1e291eHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersReplace existing users in group
It is possible to replace all existing users of a group with new user by placing a PUT request
to the members link. The request body should have the URI(s) of the users that must be added.
Content-Type header must be text/uri-list. This operation will remove all existing users and
replace with the user provided in the body.
This operation can be used to remove a single user. First fetch the current members array, then
delete the user that should be removed from the array and finally send the PUT request with
new array in request body.
$ curl 'http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members' -i -X PUT \
    -H 'Content-Type: text/uri-list' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d 'http://localhost/users/dc67596abe224691a363a230ca1e291e'PUT /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members HTTP/1.1
Content-Type: text/uri-list
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 55
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
http://localhost/users/dc67596abe224691a363a230ca1e291eHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersRemove user from group
To remove a single user from a group, send a DELETE request to /groups/gid/members/uid endpoint
where gid is the UID of the group and uid is the UID of the user to be removed.
$ curl 'http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members/51234a7a81994d1ca35ca7894cde08c6' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /groups/c339c5cf9b5a4f6b8342c6ea2f9b6775/members/51234a7a81994d1ca35ca7894cde08c6 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersGroup search endpoints
/groups/search/findByName
Search for a group by exact name.
| Parameter | Description | 
|---|---|
| 
 | Stream name to search for. | 
$ curl 'http://api.example.com/groups/search/findByName?name=tenanta-stream1' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 256
{
  "_embedded" : {
    "groups" : [ ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 0,
    "totalPages" : 0,
    "number" : 0
  }
}/groups/search/findByNameContaining
Search for a group by name containing search term.
| Parameter | Description | 
|---|---|
| 
 | Term to search within group name. | 
$ curl 'http://api.example.com/groups/search/findByNameContaining?name=group' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 256
{
  "_embedded" : {
    "groups" : [ ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 0,
    "totalPages" : 0,
    "number" : 0
  }
}/groups/search/findByMembersContains
Search for a group by user having a valid URI of an existing User.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of a user | 
$ curl 'http://api.example.com/groups/search/findByMembersContains?user=http%3A%2F%2Flocalhost%2Fusers%2F007b994a6ab34165a93fd4c7a8db1388' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 919
{
  "_embedded" : {
    "groups" : [ {
      "name" : "Team Kad",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "514d4e9a834841869644c2ad8b439553",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "group" : {
          "href" : "...",
          "templated" : true,
          "title" : "A group"
        },
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Instances
An Instance represents a single installation of Axual Event Bus (AEB). An AEB instance is usually marked for a particular functionality like Acceptance testing, Load/Stress testing etc.
The instances collection resource is used to create and list Instances.
Instance Schema
The instances resource uses the following json-schema:
GET /profile/instances HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 4232
{
  "title" : "Instance",
  "properties" : {
    "connectCerts" : {
      "title" : "Connect certs",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/cACert"
      }
    },
    "environmentMapping" : {
      "title" : "Environment mapping",
      "readOnly" : false,
      "type" : "boolean"
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "connectLoggingSupportEnabled" : {
      "title" : "Connect logging support enabled",
      "readOnly" : false,
      "type" : "boolean"
    },
    "connectUrls" : {
      "title" : "Connect urls",
      "readOnly" : false,
      "type" : "string"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "enabledAuthenticationMethods" : {
      "title" : "Enabled authentication methods",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/instanceAuthenticationMethods"
      }
    },
    "apiUrl" : {
      "title" : "Api url",
      "readOnly" : false,
      "type" : "string"
    },
    "instanceClusters" : {
      "title" : "Instance clusters",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/instanceClusters"
      }
    },
    "supportTier" : {
      "title" : "Support tier",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "connectEnabled" : {
      "title" : "Connect enabled",
      "readOnly" : false,
      "type" : "boolean"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "granularBrowsePermission" : {
      "title" : "Granular browse permission",
      "readOnly" : false,
      "type" : "boolean"
    },
    "shortName" : {
      "title" : "Short name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "properties" : {
      "title" : "Properties",
      "readOnly" : false,
      "type" : "object"
    },
    "caCerts" : {
      "title" : "Ca certs",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/cACert"
      }
    }
  },
  "definitions" : {
    "cACert" : {
      "type" : "object",
      "properties" : {
        "pem" : {
          "title" : "Pem",
          "readOnly" : false,
          "type" : "string"
        },
        "expiresOn" : {
          "title" : "Expires on",
          "readOnly" : false,
          "type" : "string",
          "format" : "date-time"
        }
      }
    },
    "instanceAuthenticationMethods" : {
      "type" : "object",
      "properties" : {
        "protocol" : {
          "title" : "Protocol",
          "readOnly" : false,
          "type" : "string"
        },
        "rank" : {
          "title" : "Rank",
          "readOnly" : true,
          "type" : "integer"
        },
        "mechanism" : {
          "title" : "Mechanism",
          "readOnly" : false,
          "type" : "string",
          "enum" : [ "MUTUAL_TLS", "SCRAM_SHA_256", "SCRAM_SHA_512", "OAUTH_BEARER", "PLAIN" ]
        }
      }
    },
    "instanceClusters" : {
      "type" : "object",
      "properties" : {
        "cluster" : {
          "title" : "Cluster",
          "readOnly" : false,
          "type" : "string",
          "format" : "uri"
        },
        "schemaRegistryUrls" : {
          "title" : "Schema registry urls",
          "readOnly" : false,
          "type" : "string"
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all instances
A GET request will list all the Instances available.
Curl request
$ curl 'http://api.example.com/instances' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /instances HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 8417
{
  "_embedded" : {
    "instances" : [ {
      "name" : "TenantA OTA2",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local6"
      } ],
      "shortName" : "ota2",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SASL",
        "rank" : 0,
        "mechanism" : "SCRAM_SHA_256"
      } ],
      "apiUrl" : "http://aeb2-ota.local",
      "description" : "Second TenantA OTA Instance",
      "uid" : "6e37bcf4d4a44334924aa0f961286668",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "name" : "TenantA OTA",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "name" : "Zone1 Cluster OTA",
          "uid" : "66c12e25ab06458eac988f0d700fbe81",
          "providerType" : null,
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SASL",
        "rank" : 1,
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      }, {
        "protocol" : "SASL",
        "rank" : 2,
        "mechanism" : "OAUTH_BEARER"
      } ],
      "apiUrl" : "http://aeb-ota.local",
      "description" : "TenantA OTA Instance",
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "name" : "TenantA Prod",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone1 Cluster PROD",
          "uid" : "db0766d053ca46d59b0a1af2817c535a",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-prod.zone1.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-prod.zone1.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local4"
      } ],
      "shortName" : "prod",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      } ],
      "apiUrl" : "http://aeb-prod.local",
      "description" : "TenantA Prod Instance",
      "uid" : "f6969bd9f3f7435aa6bc6c62cb960393",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "name" : "TenantA LST",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local7"
      } ],
      "shortName" : "lst",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      } ],
      "apiUrl" : "http://aeb-lst.local",
      "description" : "TenantA LST Instance",
      "uid" : "g7969bd9f3f7435aa6bc6c62cb960304",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "show" : {
      "href" : "...",
      "title" : "Indication that an entity can be shown in menu"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 4,
    "totalPages" : 1,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of  | 
| 
 | Existence of  | 
Create instance
A POST request is used to create an instance. The request should have at-least one
existing Cluster URI.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the instance. | Must match the regular expression  | 
| shortName | String | A short name of the instance. | Must match the regular expression  | 
| description | String | A short text summarizing the purpose of the instance. | Size must be between 0 and 200 inclusive | 
| apiUrl | String | URL of Instance API. This will be used to manage the Instance from Axual API. | Must be a well-formed URL. Size must be between 0 and 255 inclusive | 
| connectEnabled | Boolean | A toggle to enable/disable connect on this instance. When connect is enabled, a valid connectUrl need to provide in order to create a Connect. | |
| instanceClusters | Array | An array of cluster objects for the instance. Each cluster object contains cluster’s URI and the metadata for the instance associated to the cluster such as comma separated Schema registry urls. | Must not be empty. Must not be null | 
| caCerts | Array | Collection of CA certificates that should be in the chain of client certificates used for produce/consume. These CA certificates are also used to talk to Schema Registry when browsing the stream | |
| supportTier | String | A valid URI of Support Tier for the instance | |
| enabledAuthenticationMethods | Array | A list of enabled authentication methods. If not specified, the default value is  | Must not be empty. Must not be null | 
| properties | Object | A list of Instance specific variables in Key,Value format. | |
| environmentMapping | Boolean | Enable/disable mapping an environment to the instance.
When set to  | |
| granularBrowsePermission | Boolean | Enable/disable granular browse permissions to the instance.
When set to  | 
Curl request
$ curl 'http://api.example.com/instances' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "AEB LST",
  "description" : "AEB Load Stress Testing Instance",
  "instanceClusters" : [ {
    "cluster" : "http://api.example.com/clusters/f2e75fe2226745bea34ea9f56621f78f",
    "schemaRegistryUrls" : "schema.registry.local:24001,schema.registry.local:24002"
  } ],
  "supportTier" : "http://api.example.com/supportTiers/14cadc6238fc4695916a8053302743f5",
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+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hK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----\n"
  } ],
  "enabledAuthenticationMethods" : [ {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  } ],
  "apiUrl" : "http://boxtel-lst.instance.local",
  "shortName" : "lst",
  "connectEnabled" : false,
  "environmentMapping" : true,
  "granularBrowsePermission" : true
}'HTTP request
POST /instances HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 2622
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "AEB LST",
  "description" : "AEB Load Stress Testing Instance",
  "instanceClusters" : [ {
    "cluster" : "http://api.example.com/clusters/f2e75fe2226745bea34ea9f56621f78f",
    "schemaRegistryUrls" : "schema.registry.local:24001,schema.registry.local:24002"
  } ],
  "supportTier" : "http://api.example.com/supportTiers/14cadc6238fc4695916a8053302743f5",
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNx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BrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----\n"
  } ],
  "enabledAuthenticationMethods" : [ {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  } ],
  "apiUrl" : "http://boxtel-lst.instance.local",
  "shortName" : "lst",
  "connectEnabled" : false,
  "environmentMapping" : true,
  "granularBrowsePermission" : true
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:25:12 GMT
Location: http://api.example.com/instances/8793bedae19340ec9c4dd0333ad077a7
Content-Type: application/hal+json
Content-Length: 3869
{
  "properties" : { },
  "name" : "AEB LST",
  "description" : "AEB Load Stress Testing Instance",
  "apiUrl" : "http://boxtel-lst.instance.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "schema.registry.local:24001,schema.registry.local:24002",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCA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hjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----\n",
    "expiresOn" : "2038-05-24T10:34:14"
  } ],
  "connectCerts" : [ ],
  "shortName" : "lst",
  "enabledAuthenticationMethods" : [ {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  } ],
  "connectEnabled" : false,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : null,
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "8793bedae19340ec9c4dd0333ad077a7",
  "created_at" : "2023-10-09T09:25:12.728128113",
  "modified_at" : "2023-10-09T09:25:12.728128113",
  "created_by" : "tenadmin@tenanta.nl",
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Instance properties
Every instance object holds certain important properties that apply to every stream that ends up
on this instance. These are explained below:
replication.factor
Number of replicas maintained by Kafka for each stream. Default value is 1.
num.partitions
Number of partitions created by Kafka for each stream. Default value is 2.
cleanup.policy
Policy used to clean up segments beyond the retention window. Possible values are delete, compact. Default value is delete.
min.insync.replicas
The number of in-sync replicas that must be available before a produce is considered successful. Default value is 1.
segment.ms
Time duration after which Kafka will force the log to roll even if the segment file isn’t full. Default value is 86400s.
create-stream.disable-time
Time duration after which Management API will allow recreating a stream-config that has been deleted previously. Default value is 0, time unit is minutes.
Retrieve an instance
The instances/{id} item resource is used to retrieve, update and delete individual Instances.
A GET request will retrieve the details of an Instance.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 4247
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl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Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : null
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that currently authenticated user can synchronize this  | 
Update an instance
A PATCH request is used to update an instance.
To leave an attribute of an instance unchanged, any of the above may be omitted from the request.
| If an array of Clusters is supplied in the request body, it will replace existing Clusters, if any. | 
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "modified description"
}'HTTP request
PATCH /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 44
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "modified description"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:13 GMT
Content-Type: application/hal+json
Content-Length: 4291
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "modified description",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAg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Cdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : "2038-05-24T10:34:14"
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:13.936205824",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Update an instance with Connect enable
The PATCH request can be used to turn on Connect functionality for the instance.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "connectEnabled" : true,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2"
}'HTTP request
PATCH /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 94
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "connectEnabled" : true,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:13 GMT
Content-Type: application/hal+json
Content-Length: 4291
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl\noQ6fJ2YLEhT+GM9xHKJ+DQCxvjWvtGUSb/Dk0j/R9mpSFfHvVJgE/xV+7F7Vlyw5\n/cDpF3GZOTGQ/MFy4RqRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : "2038-05-24T10:34:14"
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:13.3798684",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Update an instance with Connect Logging-Support enabled
The PATCH request can be used to enable Connect Logging-Support for the instance. This will automatically create the topics and authorisations required by the Connect-Logger to function correctly.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "connectEnabled" : true,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2",
  "connectLoggingSupportEnabled" : true,
  "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Zj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----"
  } ]
}'HTTP request
PATCH /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 5654
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "connectEnabled" : true,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2",
  "connectLoggingSupportEnabled" : true,
  "connectCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMAkG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ojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----"
  } ]
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:13 GMT
Content-Type: application/hal+json
Content-Length: 9810
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4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8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
    "expiresOn" : null
  } ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : true,
  "connectUrls" : "test-connect-worker-1,test-connect-worker-2",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:13.72760896",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Update an instance enabled authentication methods
A PATCH request is used to update an instance enabledAuthenticationMethods.
Allowed values are the supportedAuthenticationMethods for the instance’s Tenant.
Each enabledAuthenticationMethods has a rank defining the order of priority, the rank comes from the Tenant’s supportedAuthenticationMethods.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "enabledAuthenticationMethods" : [ {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ]
}'HTTP request
PATCH /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 234
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "enabledAuthenticationMethods" : [ {
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ]
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:13 GMT
Content-Type: application/hal+json
Content-Length: 4290
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+V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fVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : "2038-05-24T10:34:14"
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:13.85495512",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Update an instance with granular browse permission
A PATCH request is used to update an instance granularBrowsePermissions.
By default, granularBrowsePermissions for an instance is set to false.
When the granularBrowsePermissions is disabled on the instance, all the existing permissionGroup, that are configured on environments associated with this Instance, will be deleted.
Curl request
$ curl 'http://api.example.com/instances/6e37bcf4d4a44334924aa0f961286668' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "granularBrowsePermission" : true
}'HTTP request
PATCH /instances/6e37bcf4d4a44334924aa0f961286668 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 39
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "granularBrowsePermission" : true
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:13 GMT
Content-Type: application/hal+json
Content-Length: 1819
{
  "properties" : { },
  "name" : "TenantA OTA2",
  "description" : "Second TenantA OTA Instance",
  "apiUrl" : "http://aeb2-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local6",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ ],
  "connectCerts" : [ ],
  "shortName" : "ota2",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect3.url,https://connect4.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "6e37bcf4d4a44334924aa0f961286668",
  "created_at" : "2021-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:13.00797312",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Update an instance with environment mapping
A PATCH request is used to update an instance environmentMapping.
By default, environmentMapping for an instance is set to true.
When environmentMapping is false, we cannot map an environment to the instance.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "environmentMapping" : false
}'HTTP request
PATCH /instances/b9301e9144324928911f7d83ec40c478 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 34
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "environmentMapping" : false
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:25:12 GMT
Content-Type: application/hal+json
Content-Length: 4292
{
  "properties" : {
    "replication.factor" : "2",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8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T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : "2038-05-24T10:34:14"
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : false,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:25:12.941805162",
  "created_by" : null,
  "modified_by" : "tenadmin@tenanta.nl",
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}Synchronize an instance
A synchronize operation is defined as the process of (re)-deploying all streams that are linked to
this instance on the Kafka clusters. This effectively syncs the configuration stored in the database
to every Kafka cluster that is part of this instance.
The process involves identifying all environments that are linked to this instance. For each environment,
streams that have valid configurations (StreamConfig) are identified and deployed on the cluster.
| This is a high-risk operation only allowed for certain roles. Check with your administrator for more details. | 
A POST request on /instances/uid/synchronize is used to synchronize an instance. When successful,
a 204 No content response is returned. Depending on the number of streams that need to be synced,
allow at least 30 seconds for the operation to complete.
Curl request
$ curl 'http://api.example.com/instances/b9301e9144324928911f7d83ec40c478/synchronize' -i -X POST \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
POST /instances/b9301e9144324928911f7d83ec40c478/synchronize HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
Content-Type: application/x-www-form-urlencodedHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersDelete Instance endpoints
Deleting an instance is a two-step process, a GET request to check the constraints followed by the DELETE request.
Delete instance constraints
A GET request is used to get the constraints for deleting an instance.The constraint indicates that an instance could be deleted if there are no environments defined for it.
Curl request
$ curl 'http://api.example.com/instances/6e37bcf4d4a44334924aa0f961286668/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /instances/6e37bcf4d4a44334924aa0f961286668/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 82
{
  "canDelete" : true,
  "activeEnvironmentsCount" : 0,
  "envShortNames" : [ ]
}Delete an instance
A DELETE request is used to delete an instance.
Curl request
$ curl 'http://api.example.com/instances/6e37bcf4d4a44334924aa0f961286668' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /instances/6e37bcf4d4a44334924aa0f961286668 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersInstance search endpoints
/instances/search/findByName
Search for an instance by exact name.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Instance name to search for. | 
HTTP request
GET /instances/search/findByName?name=TenantA+OTA HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 4093
{
  "properties" : {
    "replication.factor" : "2",
    "num.partitions" : "3",
    "create-stream.disable-time" : "1",
    "min.insync.replicas" : "1",
    "retention.ms" : "172800000",
    "segment.ms" : "172800000"
  },
  "name" : "TenantA OTA",
  "description" : "TenantA OTA Instance",
  "apiUrl" : "http://aeb-ota.local",
  "instanceClusters" : [ {
    "schemaRegistryUrls" : "https://schema.local3",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  }, {
    "schemaRegistryUrls" : "https://schema.local1,https://schema.local2",
    "_links" : {
      "cluster" : {
        "href" : "...",
        "title" : "A cluster"
      }
    }
  } ],
  "caCerts" : [ {
    "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZ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50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
    "expiresOn" : null
  } ],
  "connectCerts" : [ ],
  "shortName" : "ota",
  "enabledAuthenticationMethods" : [ {
    "rank" : 1,
    "protocol" : "SASL",
    "mechanism" : "SCRAM_SHA_256"
  }, {
    "rank" : 0,
    "protocol" : "SSL",
    "mechanism" : "MUTUAL_TLS"
  }, {
    "rank" : 2,
    "protocol" : "SASL",
    "mechanism" : "OAUTH_BEARER"
  } ],
  "connectEnabled" : true,
  "connectLoggingSupportEnabled" : false,
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "granularBrowsePermission" : true,
  "environmentMapping" : true,
  "uid" : "b9301e9144324928911f7d83ec40c478",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "supportTier" : {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    },
    "supportTier" : {
      "href" : "...",
      "templated" : true
    }
  }
}/instances/search/findByNameContaining
Search for an instance by name containing search term.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Term to search within instance name. | 
HTTP request
GET /instances/search/findByNameContaining?name=aeb HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 259
{
  "_embedded" : {
    "instances" : [ ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 0,
    "totalPages" : 0,
    "number" : 0
  }
}ConnectPlugins
A ConnectPlugin stores the plugin class, type, version, and optional config explanation available for an Instance.
The /connect_plugins resource is used to return a unique list of connector plugins, not bound to any environment (axual-connect instance).
List all connect plugins
A GET request will list all the plugins available regardless of the plugin version to the currently logged-in user.
Curl request
$ curl 'http://api.example.com/connect_plugins' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /connect_plugins HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 3805
{
  "_embedded" : {
    "connect_plugins" : [ {
      "instance" : {
        "shortName" : "ota",
        "tenant" : {
          "shortName" : "tenanta",
          "_links" : {
            "contact" : {
              "href" : "...",
              "templated" : true,
              "title" : "Business contact of this tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "_links" : {
          "supportTier" : {
            "href" : "...",
            "templated" : true
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      },
      "pluginConfigs" : [ {
        "name" : "name",
        "type" : "STRING",
        "required" : true
      }, {
        "name" : "logger.name",
        "type" : "STRING",
        "required" : true
      }, {
        "name" : "key.converter",
        "type" : "CLASS",
        "required" : true
      }, {
        "name" : "connector.class",
        "type" : "STRING",
        "required" : true
      }, {
        "name" : "tasks.max",
        "type" : "INT",
        "required" : true
      }, {
        "name" : "transforms",
        "type" : "LIST",
        "required" : true
      } ],
      "pluginClass" : "io.axual.test.sink.plugin",
      "pluginType" : "SINK",
      "uid" : "197691609c2fe4f129cfc79f18d5d1269",
      "created_at" : "2020-05-28T10:56:23",
      "modified_at" : "2020-05-28T10:56:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "instance" : {
        "shortName" : "ota",
        "tenant" : {
          "shortName" : "tenanta",
          "_links" : {
            "contact" : {
              "href" : "...",
              "templated" : true,
              "title" : "Business contact of this tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "_links" : {
          "supportTier" : {
            "href" : "...",
            "templated" : true
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      },
      "pluginConfigs" : [ {
        "name" : "tasks.max",
        "type" : "INT",
        "required" : true
      } ],
      "pluginClass" : "io.axual.test.source.plugin",
      "pluginType" : "SOURCE",
      "uid" : "427691609c2f20f129bd179f45d5d1269",
      "created_at" : "2020-05-28T10:56:23",
      "modified_at" : "2020-05-28T10:56:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 2,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}List all environments relevant for an application
A GET request will list all the environments that are relevant for the application with the status of connector on those environments .
Only the environments that support the application’s configured pluginClass and are accessible to the user are returned.
Curl request
$ curl 'http://api.example.com/connect_plugins/search/findEnvironmentsByApplication?application=http%3A%2F%2Flocalhost%2Fapplications%2Fdbc9e4670h1c4866deg78722e2930d2g' -i -X GET \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /connect_plugins/search/findEnvironmentsByApplication?application=http%3A%2F%2Flocalhost%2Fapplications%2Fdbc9e4670h1c4866deg78722e2930d2g HTTP/1.1
Content-Type: application/json
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 28101
{
  "_embedded" : {
    "environmentWithStatuses" : [ {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv3",
          "shortName" : "tenantaenv3",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da8be6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "envdefault",
          "shortName" : "envdefault",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da96e6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv7_with_app_access_only",
          "shortName" : "tenantaenv7",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_access configured",
          "uid" : "48dd87236ec445138330adb1a8a79f7e",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams_2",
          "shortName" : "tenantaenvns2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "5e7e07b5e7784baf8dcebe1b03d5d410",
          "created_at" : "2022-10-31T23:16:23",
          "modified_at" : "2022-10-31T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv8_with_app_credential_only",
          "shortName" : "tenantaenv8",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_credential configured",
          "uid" : "73f73e189c49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv9_with_app_principal_and_credential",
          "shortName" : "tenantapublicenv9",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with app access and grant configured",
          "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams",
          "shortName" : "tenantaenvns",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "a5f2383ccce249459b24b7cb189b40bc",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv4",
          "shortName" : "tenantaenv4",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "aa1ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv5",
          "shortName" : "tenantaenv5",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "bb5be2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv2",
          "shortName" : "tenantaenv2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "e11ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    }, {
      "status" : "Undefined",
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv6_with_app_principal",
          "shortName" : "tenantaenv6",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_principal configured",
          "uid" : "e26e0006c5504351a58e3181066cf56a",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Confidentialities
Defines the available confidentiality level for a tenant.
As an example following can be the confidentiality levels: - C=0: Public. - C=1: Internal use. - C=2: Confidential. - C=3: Secret.
These levels can then be associated to the streams for the tenant. The purpose of this is to define how confidential the messages on the stream are.
List all confidentiality
A GET request lists all tenants in the system. This operation can be done by any authenticated user for the tenant.
Curl request
$ curl 'http://api.example.com/confidentialities' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /confidentialities HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1780
{
  "_embedded" : {
    "confidentialities" : [ {
      "level" : "L1",
      "color" : "blue",
      "description" : "test confidentiality",
      "uid" : "347ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        }
      }
    }, {
      "level" : "L2",
      "color" : "blue",
      "description" : "L2 confidentiality",
      "uid" : "648ab08009fe4da8be6905b55552ac43",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}Create confidentiality
A POST request is used to create a new confidentiality level. This operation can be done by a TENANT_ADMIN only.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| level | String | The name of the level | Size must be between 0 and 50 inclusive | 
| description | String | The description of the level. | Size must be between 0 and 200 inclusive | 
| color | String | The colour of the level. | Size must be between 0 and 12 inclusive | 
Curl request
$ curl 'http://api.example.com/confidentialities' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "level" : "L2",
  "description" : "This is Level 2",
  "color" : "blue"
}'HTTP request
POST /confidentialities HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 77
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "level" : "L2",
  "description" : "This is Level 2",
  "color" : "blue"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:26:37 GMT
Location: http://api.example.com/confidentialities/575232072ffd428b9f9ee63f0c7e53a5
Content-Type: application/hal+json
Content-Length: 774
{
  "level" : "l2",
  "description" : "This is Level 2",
  "color" : "blue",
  "uid" : "575232072ffd428b9f9ee63f0c7e53a5",
  "created_at" : "2023-10-09T09:26:37.900206578",
  "modified_at" : "2023-10-09T09:26:37.900206578",
  "created_by" : "tenadmin@tenanta.nl",
  "modified_by" : "tenadmin@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Retrieve confidentiality
The confidentiality/{id} item resource is used to retrieve, update and delete individual confidentiality level.
A GET request will retrieve the details of a Confidentiality level. This operation can be done by any authenticated user for the tenant.
Curl request
$ curl 'http://api.example.com/confidentialities/347ab08009fe4da8be6905b55552ab52' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /confidentialities/347ab08009fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 725
{
  "level" : "L1",
  "description" : "test confidentiality",
  "color" : "blue",
  "uid" : "347ab08009fe4da8be6905b55552ab52",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can edit this Confidentiality level | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this confidentiality level | 
Update confidentiality
A PATCH request is used to update a tenant. Only a TENANT_ADMIN can perform this
action.
$ curl 'http://api.example.com/confidentialities/347ab08009fe4da8be6905b55552ab52' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "Updated description"
}'PATCH /confidentialities/347ab08009fe4da8be6905b55552ab52 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 43
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "Updated description"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 724
{
  "level" : "L1",
  "description" : "Updated description",
  "color" : "blue",
  "uid" : "347ab08009fe4da8be6905b55552ab52",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Delete confidentiality
Deleting confidentiality is a two step process a GET request to check the constraints followed by the DELETE request
Delete confidentiality constraints
A GET request is used to get the constraints for deleting Confidentiality. Only a TENANT_ADMIN can perform this
$ curl 'http://api.example.com/confidentialities/648ab08009fe4da8be6905b55552ac43/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /confidentialities/648ab08009fe4da8be6905b55552ac43/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 47
{
  "canDelete" : false,
  "streamsCount" : 1
}Delete confidentiality
A DELETE request is used to delete a Confidentiality. Only a TENANT_ADMIN can perform this
$ curl 'http://api.example.com/confidentialities/347ab08009fe4da8be6905b55552ab52' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /confidentialities/347ab08009fe4da8be6905b55552ab52 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersIntegrities
Define the available integrity level for a tenant. These levels can then be associated to the streams for the tenant.
List all integrity
A GET request will list all the integrities in the system. This operation can be done by a TENANT_ADMIN only.
Curl request
$ curl 'http://api.example.com/integrities' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /integrities HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1745
{
  "_embedded" : {
    "integrities" : [ {
      "level" : "L2",
      "color" : "yellow",
      "description" : "This is level 2",
      "uid" : "247ab03ffafe4da2bet905b5e352ab53",
      "created_at" : "2019-06-08T23:16:23",
      "modified_at" : "2019-06-08T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        }
      }
    }, {
      "level" : "L1",
      "color" : "green",
      "description" : "This is level 1",
      "uid" : "247ab08159fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates thatthe currently authenticated user can create Integrity level | 
Create integrity
A POST request is used to create a new integrity level. This operation can be done by a TENANT_ADMIN only.
Below table lists all possible fields that can be provided for integrity level creation.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| level | String | The level of the integrity level | Size must be between 0 and 50 inclusive | 
| description | String | The description of the integrity level | Size must be between 0 and 200 inclusive | 
| color | String | The color of the integrity level | Size must be between 0 and 12 inclusive | 
Curl request
$ curl 'http://api.example.com/integrities' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "level" : "Level 1",
  "description" : "This is level 1",
  "color" : "green"
}'HTTP request
POST /integrities HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 83
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "level" : "Level 1",
  "description" : "This is level 1",
  "color" : "green"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:27:06 GMT
Location: http://api.example.com/integrities/aae740e9f46f45a29d98f2af5a631495
Content-Type: application/hal+json
Content-Length: 768
{
  "level" : "level 1",
  "description" : "This is level 1",
  "color" : "green",
  "uid" : "aae740e9f46f45a29d98f2af5a631495",
  "created_at" : "2023-10-09T09:27:06.076733313",
  "modified_at" : "2023-10-09T09:27:06.076733313",
  "created_by" : "tenadmin@tenanta.nl",
  "modified_by" : "tenadmin@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Retrieve an integrity
The integrity/{id} item resource is used to retrieve, update and delete individual integrity level.
A GET request will retrieve the details of an integrity.
Curl request
$ curl 'http://api.example.com/integrities/247ab08159fe4da8be6905b55552ab52' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /integrities/247ab08159fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 709
{
  "level" : "L1",
  "description" : "This is level 1",
  "color" : "green",
  "uid" : "247ab08159fe4da8be6905b55552ab52",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates thatthe currently authenticated user can edit this Integrity level | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this Integrity level | 
Update an integrity
A PATCH request is used to update an integrity. Only a TENANT_ADMIN can perform this action.
$ curl 'http://api.example.com/integrities/247ab08159fe4da8be6905b55552ab52' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "Updated description",
  "color" : "purple",
  "level" : "level-one"
}'PATCH /integrities/247ab08159fe4da8be6905b55552ab52 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 90
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "Updated description",
  "color" : "purple",
  "level" : "level-one"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 721
{
  "level" : "level-one",
  "description" : "Updated description",
  "color" : "purple",
  "uid" : "247ab08159fe4da8be6905b55552ab52",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Delete integrity endpoints
Deleting integrity is a two step process, a GET request to check the constraints followed by the DELETE request.
This operation can be done by a TENANT_ADMIN only.
Delete integrity constraints
A GET request is used to get the constraints for deleting integrities.
$ curl 'http://api.example.com/integrities/247ab03ffafe4da2bet905b5e352ab53/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /integrities/247ab03ffafe4da2bet905b5e352ab53/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 47
{
  "canDelete" : false,
  "streamsCount" : 1
}Delete integrity
A DELETE request is used to delete a integrity.
$ curl 'http://api.example.com/integrities/247ab08159fe4da8be6905b55552ab52' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /integrities/247ab08159fe4da8be6905b55552ab52 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersEnvironments
An Environment represents a functional group of servers that is specific to a Tenant. It is usually grouped based on functional use e.g. System testing, Acceptance testing, Production and others.
Every environment must be linked to an existing Instance before it can be considered ready for business use. This can only be done by an Axual admin user.
The environments collection resource is used to create and list Environments.
Environment Schema
The environments resource uses the following json-schema:
GET /profile/environments HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 2269
{
  "title" : "Environment",
  "properties" : {
    "partitions" : {
      "title" : "Partitions",
      "readOnly" : false,
      "type" : "integer"
    },
    "authorizationIssuer" : {
      "title" : "Authorization issuer",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "Stream owner", "Auto" ]
    },
    "private" : {
      "title" : "Private",
      "readOnly" : true,
      "type" : "boolean"
    },
    "instance" : {
      "title" : "Instance",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "color" : {
      "title" : "Color",
      "readOnly" : false,
      "type" : "string"
    },
    "visibility" : {
      "title" : "Visibility",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "public", "private" ]
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "owners" : {
      "title" : "Owners",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "retentionTime" : {
      "title" : "Retention time",
      "readOnly" : false,
      "type" : "integer"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "autoApproved" : {
      "title" : "Auto approved",
      "readOnly" : true,
      "type" : "boolean"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "shortName" : {
      "title" : "Short name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "properties" : {
      "title" : "Properties",
      "readOnly" : false,
      "type" : "object"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all environments
A GET request will list all the environments visible to the currently logged-in user.
Curl request
$ curl 'http://api.example.com/environments' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /environments HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 18118
{
  "_embedded" : {
    "environments" : [ {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv3",
      "shortName" : "tenantaenv3",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "156ab08009fe4da8be6905b55552ab63",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "envdefault",
      "shortName" : "envdefault",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "156ab08009fe4da96e6905b55552ab63",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv1",
      "shortName" : "tenantaprivenv1",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv7_with_app_access_only",
      "shortName" : "tenantaenv7",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_access configured",
      "uid" : "48dd87236ec445138330adb1a8a79f7e",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv_no_streams_2",
      "shortName" : "tenantaenvns2",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "5e7e07b5e7784baf8dcebe1b03d5d410",
      "created_at" : "2022-10-31T23:16:23",
      "modified_at" : "2022-10-31T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv2",
      "shortName" : "tenantaprivenv2",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "61b1b34b0c6744dcadb85f4c188517e5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv5",
      "shortName" : "tenantaprivenv5",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv3",
      "shortName" : "tenantaprivenv3",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "72c1b34b0c6744dcadb85f4c188518f6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv8_with_app_credential_only",
      "shortName" : "tenantaenv8",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_credential configured",
      "uid" : "73f73e189c49430fbf1d8cc7494d24d4",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv9_with_app_principal_and_credential",
      "shortName" : "tenantapublicenv9",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with app access and grant configured",
      "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv4",
      "shortName" : "tenantaprivenv4",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "83c1b34b0c6744dcadb85f4c188518g5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv6",
      "shortName" : "tenantaprivenv6",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "8fe4bc6b01bc4ff39ac9769ffe1fb77f",
      "created_at" : "2022-09-06T10:00:00",
      "modified_at" : "2022-09-06T10:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv_only_app_grant",
      "shortName" : "tenantaenvgrant",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment with just application_access_grant and no mapping to application_access",
      "uid" : "a5f2383420e249459b24b7cb189b40bc",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv_no_streams",
      "shortName" : "tenantaenvns",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "a5f2383ccce249459b24b7cb189b40bc",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv4",
      "shortName" : "tenantaenv4",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "aa1ee2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv5",
      "shortName" : "tenantaenv5",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "bb5be2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv2",
      "shortName" : "tenantaenv2",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "e11ee2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv6_with_app_principal",
      "shortName" : "tenantaenv6",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_principal configured",
      "uid" : "e26e0006c5504351a58e3181066cf56a",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 19,
    "totalPages" : 1,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can create a new Environment | 
Create environment
A POST request is used to create a new environment. The fields authorizationIssuer and visibility
are currently optional and can be ignored while creating a new Environment. By default,
authorizationIssuer will be set to Stream owner and visibility will be set to Public.
Below table lists all possible fields that can be provided for environment creation.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the environment | Must match the regular expression  | 
| shortName | String | The short name of the environment. Used in stream names internally. Must be lower-case. | Must match the regular expression  | 
| owners | String | A valid URI of an existing group, must not be null. | Must not be null | 
| description | String | Human-readable text describing the environment | Size must be between 0 and 200 inclusive | 
| properties | Object | A list of Tenant specific variables in Key,Value format. | |
| color | String | A string color value assigned to this environment. | Size must be between 0 and 12 inclusive | 
| authorizationIssuer | String | An entity that authorizes  | |
| visibility | String | Defines the visibility of this environment. Possible values are  | |
| instance | String | A valid Instance URI where this environment should be deployed. | |
| retentionTime | Number | The time in milliseconds after which the messages can be deleted from all streams. This is an optional field. If not specified, default value is 7 days (604800000). | |
| partitions | Number | Defines the number of partitions configured for every stream of this tenant. This is an optional field. If not specified, default value is 12 | 
Curl request
$ curl 'http://api.example.com/environments' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "KAD Test",
  "shortName" : "kad",
  "description" : "This is KAD test environment",
  "retentionTime" : 90000,
  "partitions" : 8,
  "authorizationIssuer" : "Stream owner",
  "visibility" : "Public",
  "instance" : "http://api.example.com/instances/b9301e9144324928911f7d83ec40c478",
  "owners" : "http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775",
  "properties" : {
    "stream.integrity" : "2",
    "stream.confidentiality" : "3"
  }
}'HTTP request
POST /environments HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 466
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "KAD Test",
  "shortName" : "kad",
  "description" : "This is KAD test environment",
  "retentionTime" : 90000,
  "partitions" : 8,
  "authorizationIssuer" : "Stream owner",
  "visibility" : "Public",
  "instance" : "http://api.example.com/instances/b9301e9144324928911f7d83ec40c478",
  "owners" : "http://api.example.com/groups/c339c5cf9b5a4f6b8342c6ea2f9b6775",
  "properties" : {
    "stream.integrity" : "2",
    "stream.confidentiality" : "3"
  }
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:24:53 GMT
Location: http://api.example.com/environments/4c7b49fe7f8244839e6ea4a2f1d1e116
Content-Type: application/hal+json
Content-Length: 4606
{
  "properties" : {
    "stream.integrity" : "2",
    "stream.confidentiality" : "3"
  },
  "name" : "KAD Test",
  "shortName" : "kad",
  "description" : "This is KAD test environment",
  "color" : "#80affe",
  "authorizationIssuer" : "Stream owner",
  "visibility" : null,
  "retentionTime" : 90000,
  "partitions" : 8,
  "private" : false,
  "autoApproved" : false,
  "uid" : "4c7b49fe7f8244839e6ea4a2f1d1e116",
  "created_at" : "2023-10-09T09:24:53.423598765",
  "modified_at" : "2023-10-09T09:24:53.423598765",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "_embedded" : {
    "owners" : {
      "name" : "Application-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "instance" : {
      "name" : "TenantA OTA",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "name" : "Zone1 Cluster OTA",
          "uid" : "66c12e25ab06458eac988f0d700fbe81",
          "providerType" : null,
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SASL",
        "rank" : 1,
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      }, {
        "protocol" : "SASL",
        "rank" : 2,
        "mechanism" : "OAUTH_BEARER"
      } ],
      "apiUrl" : "http://aeb-ota.local",
      "description" : "TenantA OTA Instance",
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "supportTier" : {
          "href" : "...",
          "templated" : true
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    }
  }
}Attempting to create environment on Instance with environmentMapping disabled
In case the Instance used by the Environment has environmentMapping=false, we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1053
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "errmsg.instance.environmentMapping.disabled.Environment.instance.environmentMappingerrmsg.instance.environmentMapping.disabled.instance.environmentMappingerrmsg.instance.environmentMapping.disabled.environmentMappingerrmsg.instance.environmentMapping.disabled.java.lang.BooleanSelected Instance has been restricted Environment mapping, please contact your Tenant Admin to create the Environment." ],
  "subErrors" : [ {
    "field" : "Environment.instance.environmentMapping",
    "rejectedValue" : false,
    "recommendedValues" : null,
    "errors" : [ "errmsg.instance.environmentMapping.disabled.Environment.instance.environmentMapping", "errmsg.instance.environmentMapping.disabled.instance.environmentMapping", "errmsg.instance.environmentMapping.disabled.environmentMapping", "errmsg.instance.environmentMapping.disabled.java.lang.Boolean", "Selected Instance has been restricted Environment mapping, please contact your Tenant Admin to create the Environment." ]
  } ]
}Retrieve an environment
The environments/{id} resource is used to retrieve, update and delete individual environments.
A GET request will retrieve the details of an environment.
Curl request
$ curl 'http://api.example.com/environments/46cfaf47d2d04d12923beefac3d0ba5a' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 4477
{
  "properties" : { },
  "name" : "tenantaprivenv1",
  "shortName" : "tenantaprivenv1",
  "description" : "environment",
  "color" : "#80affe",
  "authorizationIssuer" : "Auto",
  "visibility" : "private",
  "retentionTime" : 604800000,
  "partitions" : 12,
  "private" : true,
  "autoApproved" : true,
  "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "owners" : {
      "name" : "Environment-tenAenv1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "instance" : {
      "name" : "TenantA OTA",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "name" : "Zone1 Cluster OTA",
          "uid" : "66c12e25ab06458eac988f0d700fbe81",
          "providerType" : null,
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SASL",
        "rank" : 1,
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      }, {
        "protocol" : "SASL",
        "rank" : 2,
        "mechanism" : "OAUTH_BEARER"
      } ],
      "apiUrl" : "http://aeb-ota.local",
      "description" : "TenantA OTA Instance",
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "supportTier" : {
          "href" : "...",
          "templated" : true
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | The Axual instance this environment is mapped to. | 
| 
 | The group of users allowed to access/update the environment. | 
| 
 | Existence of this link indicates that the currently authenticated user can edit this  | 
| 
 | Existence of this link indicates that currently authenticated user can synchronize this  | 
Update an environment
Editing an Environment is a two-step process a GET request to check the constraints followed by the PATCH request. Some fields can only be updated if the constraints allow them. For example shortName, instance and visibility.
Get Edit environment constraints
A GET request is used to get the constraints for editing an environment.
$ curl 'http://api.example.com/environments/a5f2383ccce249459b24b7cb189b40bc/edit-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /environments/a5f2383ccce249459b24b7cb189b40bc/edit-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 117
{
  "canEditInstance" : true,
  "canEditShortName" : true,
  "canEditVisibility" : true,
  "streamConfigsCount" : 0
}A PATCH request is used to update an environment. In the request, pass only the fields that need changing and ensure the fields can be updated in the constraints.
$ curl 'http://api.example.com/environments/46cfaf47d2d04d12923beefac3d0ba5a' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "Updated description"
}'PATCH /environments/46cfaf47d2d04d12923beefac3d0ba5a HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 43
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "Updated description"
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 4485
{
  "properties" : { },
  "name" : "tenantaprivenv1",
  "shortName" : "tenantaprivenv1",
  "description" : "Updated description",
  "color" : "#80affe",
  "authorizationIssuer" : "Auto",
  "visibility" : "private",
  "retentionTime" : 604800000,
  "partitions" : 12,
  "private" : true,
  "autoApproved" : true,
  "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "owners" : {
      "name" : "Environment-tenAenv1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "instance" : {
      "name" : "TenantA OTA",
      "instanceClusters" : [ {
        "cluster" : {
          "name" : "Zone2 Cluster OTA",
          "uid" : "543c3b7d55634eba83b1472775c131c4",
          "providerType" : null,
          "bootstrapServers" : [ ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "name" : "Zone1 Cluster OTA",
          "uid" : "66c12e25ab06458eac988f0d700fbe81",
          "providerType" : null,
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "_links" : {
            "tenant" : {
              "href" : "...",
              "title" : "A tenant"
            },
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            }
          }
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "protocol" : "SASL",
        "rank" : 1,
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "protocol" : "SSL",
        "rank" : 0,
        "mechanism" : "MUTUAL_TLS"
      }, {
        "protocol" : "SASL",
        "rank" : 2,
        "mechanism" : "OAUTH_BEARER"
      } ],
      "apiUrl" : "http://aeb-ota.local",
      "description" : "TenantA OTA Instance",
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "supportTier" : {
          "href" : "...",
          "templated" : true
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "synchronize" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    },
    "instance" : {
      "href" : "...",
      "templated" : true,
      "title" : "An instance"
    }
  }
}Delete environment endpoints
Deleting environment is a two-step process a GET request to check the constraints followed by the DELETE request.
Delete environment constraints
A GET request is used to get the constraints for deleting environments.
$ curl 'http://api.example.com/environments/61b1b34b0c6744dcadb85f4c188517e5/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /environments/61b1b34b0c6744dcadb85f4c188517e5/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 211
{
  "canDelete" : true,
  "activeGrantsCount" : 0,
  "appPrincipalsCount" : 0,
  "appCredentialsCount" : 0,
  "streamConfigsCount" : 0,
  "appDeploymentCount" : 0,
  "streamIds" : [ ],
  "applicationIds" : [ ]
}Delete environment
A DELETE request is used to delete an environment.
$ curl 'http://api.example.com/environments/61b1b34b0c6744dcadb85f4c188517e5' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /environments/61b1b34b0c6744dcadb85f4c188517e5 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersSynchronize an environment
A synchronize operation is defined as the process of (re)-deploying all streams that are linked to
this environment on the Kafka clusters. This effectively syncs the configuration stored in the database
to every Kafka cluster that is part of this environment.
The operation is similar to instance synchronization except it is performed at environment level.
The process involves identifying streams that have valid configurations (StreamConfig) for this
environment and deploying on the cluster.
| This is a high-risk operation only allowed for certain roles. Check with your administrator for more details. | 
A POST request on /environments/uid/synchronize is used to synchronize an environment. When successful,
a 204 No content response is returned. Depending on the number of streams that need to be synced,
allow at least 30 seconds for the operation to complete.
Curl request
$ curl 'http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52/synchronize' -i -X POST \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
POST /environments/047ab08009fe4da8be6905b55552ab52/synchronize HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
Content-Type: application/x-www-form-urlencodedHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersSearch endpoints
/environments/search/findByName
Search for an environment by exact name.
| Parameter | Description | 
|---|---|
| 
 | Environment name to search for. | 
GET /environments/search/findByName?name=tenantaenv1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1063
{
  "_embedded" : {
    "environments" : [ {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/environments/search/findByNameContaining
Search for an environment by name containing search term.
| Parameter | Description | 
|---|---|
| 
 | Term to search for within environment name. | 
GET /environments/search/findByNameContaining?name=tenantaenv1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1267
{
  "_embedded" : {
    "environments" : [ {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/environments/search/findByShortName
Search for an environment by exact short name.
| Parameter | Description | 
|---|---|
| 
 | Environment short name to search for. | 
GET /environments/search/findByShortName?shortName=tenantaenv1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1063
{
  "_embedded" : {
    "environments" : [ {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/environments/search/findByInstance
Search for environments that are deployed on this instance.
| Parameter | Description | 
|---|---|
| 
 | Find environments mapped to this instance. Must be a valid instance URI. | 
$ curl 'http://api.example.com/environments/search/findByInstance?instance=http%3A%2F%2Flocalhost%2Finstances%2Fb9301e9144324928911f7d83ec40c478' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 10361
{
  "_embedded" : {
    "environments" : [ {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv1",
      "shortName" : "tenantaprivenv1",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv7_with_app_access_only",
      "shortName" : "tenantaenv7",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_access configured",
      "uid" : "48dd87236ec445138330adb1a8a79f7e",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaprivenv3",
      "shortName" : "tenantaprivenv3",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "72c1b34b0c6744dcadb85f4c188518f6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv8_with_app_credential_only",
      "shortName" : "tenantaenv8",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_credential configured",
      "uid" : "73f73e189c49430fbf1d8cc7494d24d4",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv_only_app_grant",
      "shortName" : "tenantaenvgrant",
      "visibility" : "private",
      "color" : "#80affe",
      "description" : "environment with just application_access_grant and no mapping to application_access",
      "uid" : "a5f2383420e249459b24b7cb189b40bc",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv_no_streams",
      "shortName" : "tenantaenvns",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "a5f2383ccce249459b24b7cb189b40bc",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv4",
      "shortName" : "tenantaenv4",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "aa1ee2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv5",
      "shortName" : "tenantaenv5",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "bb5be2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv2",
      "shortName" : "tenantaenv2",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "e11ee2dd976647109ca904dd8adc050f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    }, {
      "name" : "tenantaenv6_with_app_principal",
      "shortName" : "tenantaenv6",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment with just app_principal configured",
      "uid" : "e26e0006c5504351a58e3181066cf56a",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/environments/search/findByApplication
Search for environments that are used by this application.
| Parameter | Description | 
|---|---|
| 
 | Find environments with this application active. Must be a valid application URI. | 
$ curl 'http://api.example.com/environments/search/findByApplication?application=http%3A%2F%2Flocalhost%2Fapplications%2F5ffc4240fcdf4a479a16f2b0b12ab909' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 45730
{
  "_embedded" : {
    "environmentsWithStatuses" : [ {
      "active" : true,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv3",
          "shortName" : "tenantaenv3",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da8be6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "envdefault",
          "shortName" : "envdefault",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da96e6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv1",
          "shortName" : "tenantaprivenv1",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv7_with_app_access_only",
          "shortName" : "tenantaenv7",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_access configured",
          "uid" : "48dd87236ec445138330adb1a8a79f7e",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams_2",
          "shortName" : "tenantaenvns2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "5e7e07b5e7784baf8dcebe1b03d5d410",
          "created_at" : "2022-10-31T23:16:23",
          "modified_at" : "2022-10-31T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv2",
          "shortName" : "tenantaprivenv2",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "61b1b34b0c6744dcadb85f4c188517e5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv5",
          "shortName" : "tenantaprivenv5",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv3",
          "shortName" : "tenantaprivenv3",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "72c1b34b0c6744dcadb85f4c188518f6",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv8_with_app_credential_only",
          "shortName" : "tenantaenv8",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_credential configured",
          "uid" : "73f73e189c49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv9_with_app_principal_and_credential",
          "shortName" : "tenantapublicenv9",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with app access and grant configured",
          "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv4",
          "shortName" : "tenantaprivenv4",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "83c1b34b0c6744dcadb85f4c188518g5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv6",
          "shortName" : "tenantaprivenv6",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "8fe4bc6b01bc4ff39ac9769ffe1fb77f",
          "created_at" : "2022-09-06T10:00:00",
          "modified_at" : "2022-09-06T10:00:00",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_only_app_grant",
          "shortName" : "tenantaenvgrant",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment with just application_access_grant and no mapping to application_access",
          "uid" : "a5f2383420e249459b24b7cb189b40bc",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams",
          "shortName" : "tenantaenvns",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "a5f2383ccce249459b24b7cb189b40bc",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv4",
          "shortName" : "tenantaenv4",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "aa1ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv5",
          "shortName" : "tenantaenv5",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "bb5be2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv2",
          "shortName" : "tenantaenv2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "e11ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv6_with_app_principal",
          "shortName" : "tenantaenv6",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_principal configured",
          "uid" : "e26e0006c5504351a58e3181066cf56a",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "application" : {
              "href" : "...",
              "templated" : true,
              "title" : "An application"
            }
          }
        },
        "stream" : null
      },
      "connectorLoggingEnabled" : false
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/environments/search/findByStream
Search for environments that are used by this stream.
| Parameter | Description | 
|---|---|
| 
 | Find environments with this stream active. Must be a valid stream URI. | 
$ curl 'http://api.example.com/environments/search/findByStream?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 61750
{
  "_embedded" : {
    "environmentsWithStatuses" : [ {
      "active" : true,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv3",
          "shortName" : "tenantaenv3",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da8be6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "envdefault",
          "shortName" : "envdefault",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "156ab08009fe4da96e6905b55552ab63",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv1",
          "shortName" : "tenantaprivenv1",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : true,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv7_with_app_access_only",
          "shortName" : "tenantaenv7",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_access configured",
          "uid" : "48dd87236ec445138330adb1a8a79f7e",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams_2",
          "shortName" : "tenantaenvns2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "5e7e07b5e7784baf8dcebe1b03d5d410",
          "created_at" : "2022-10-31T23:16:23",
          "modified_at" : "2022-10-31T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv2",
          "shortName" : "tenantaprivenv2",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "61b1b34b0c6744dcadb85f4c188517e5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv5",
          "shortName" : "tenantaprivenv5",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : true,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv3",
          "shortName" : "tenantaprivenv3",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "72c1b34b0c6744dcadb85f4c188518f6",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv8_with_app_credential_only",
          "shortName" : "tenantaenv8",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_credential configured",
          "uid" : "73f73e189c49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : true,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv9_with_app_principal_and_credential",
          "shortName" : "tenantapublicenv9",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with app access and grant configured",
          "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv4",
          "shortName" : "tenantaprivenv4",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "83c1b34b0c6744dcadb85f4c188518g5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv6",
          "shortName" : "tenantaprivenv6",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "8fe4bc6b01bc4ff39ac9769ffe1fb77f",
          "created_at" : "2022-09-06T10:00:00",
          "modified_at" : "2022-09-06T10:00:00",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_only_app_grant",
          "shortName" : "tenantaenvgrant",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment with just application_access_grant and no mapping to application_access",
          "uid" : "a5f2383420e249459b24b7cb189b40bc",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv_no_streams",
          "shortName" : "tenantaenvns",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "a5f2383ccce249459b24b7cb189b40bc",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv4",
          "shortName" : "tenantaenv4",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "aa1ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : false,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv5",
          "shortName" : "tenantaenv5",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "bb5be2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : true,
      "browsable" : false,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv2",
          "shortName" : "tenantaenv2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "e11ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    }, {
      "active" : true,
      "browsable" : true,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv6_with_app_principal",
          "shortName" : "tenantaenv6",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_principal configured",
          "uid" : "e26e0006c5504351a58e3181066cf56a",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            }
          }
        },
        "application" : null,
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "self" : {
              "href" : "...",
              "title" : "URI pointing to current request"
            },
            "stream" : {
              "href" : "...",
              "templated" : true,
              "title" : "A stream"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            }
          }
        }
      },
      "connectorLoggingEnabled" : false
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/environments/search/findByPluginClass
Search for environments that are used by this plugin class.
| Parameter | Description | 
|---|---|
| 
 | Connector plugin class name | 
$ curl 'http://api.example.com/environments/search/findByPluginClass?pluginClass=io.axual.test.sink.plugin' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 734
{
  "envPluginVersionMap" : {
    "tenantaenv1" : "1.0.0",
    "tenantaprivenv1" : "1.0.0",
    "tenantaenvgrant" : "1.0.0",
    "tenantaprivenv2" : "1.0.2",
    "tenantaprivenv3" : "1.0.0",
    "tenantaenv4" : "1.0.0",
    "tenantaprivenv4" : "1.0.2",
    "tenantaenv5" : "1.0.0",
    "tenantaprivenv5" : "1.0.1",
    "tenantaenv2" : "1.0.0",
    "tenantaenv3" : "1.0.2",
    "tenantaprivenv6" : "1.0.2",
    "tenantaenvns" : "1.0.0",
    "envdefault" : "1.0.2",
    "tenantaenvns2" : "1.0.2",
    "tenantaenv8" : "1.0.0",
    "tenantapublicenv9" : "1.0.1",
    "tenantaenv6" : "1.0.0",
    "tenantaenv7" : "1.0.0"
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Monitoring Information of an environment
The monitoring-information/{environmentShortName} resource is used to retrieve the TenantShortName, InstanceShortName, EnvironmentShortName, Cluster’s Topic and Group Pattern for this environment.
List All Monitoring Information
A GET request will retrieve the details of the monitoring information based on the provided environment’s short name.
Curl request
$ curl 'http://api.example.com/monitoring-information/tenantaenv1' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /monitoring-information/tenantaenv1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 538
{
  "tenantShortName" : "tenanta",
  "instanceShortName" : "ota",
  "envShortName" : "tenantaenv1",
  "clusterMonitoringInfoList" : [ {
    "clusterName" : "Zone2 Cluster OTA",
    "clusterPatterns" : {
      "topic" : "{tenant}-{instance}-{environment}-{topic}",
      "group" : "{tenant}-{instance}-{environment}-{group}"
    }
  }, {
    "clusterName" : "Zone1 Cluster OTA",
    "clusterPatterns" : {
      "topic" : "{tenant}-{instance}-{environment}-{topic}",
      "group" : "{tenant}-{instance}-{environment}-{group}"
    }
  } ]
}Applications
An Application is a piece of software that is capable of producing or consuming events from a data stream.
With release of 0.7.5, we have introduced a new field visibility that defines the concept of public and private application.
A public application is visible to every authenticated user within a tenant.
A private application, on the other hand, is only visible to the team that owns it.
Most applications that are created for test purposes and are not intended to be deployed in production are marked as private.
For now, this field is optional with a default value of public, so this field can be ignored while creating a new application.
The /applications resource is used to list and create applications.
Application schema
The applications resource uses the following json-schema:
HTTP request
GET /profile/applications HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 3590
{
  "title" : "Application",
  "properties" : {
    "applicationType" : {
      "title" : "Application type",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "Custom", "Connector" ]
    },
    "visibility" : {
      "title" : "Visibility",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "public", "private" ]
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "owners" : {
      "title" : "Owners",
      "readOnly" : false,
      "type" : "object",
      "$ref" : "#/definitions/group"
    },
    "type" : {
      "title" : "Type",
      "readOnly" : false,
      "type" : "string"
    },
    "allApplicationIds" : {
      "title" : "All application ids",
      "readOnly" : true,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "type" : "object"
      }
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "applicationClass" : {
      "title" : "Application class",
      "readOnly" : false,
      "type" : "string"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "shortName" : {
      "title" : "Short name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "applicationId" : {
      "title" : "Application id",
      "readOnly" : false,
      "type" : "string"
    }
  },
  "definitions" : {
    "emailAddress" : {
      "type" : "object",
      "properties" : {
        "email" : {
          "title" : "Email",
          "readOnly" : true,
          "type" : "string"
        }
      }
    },
    "group" : {
      "type" : "object",
      "properties" : {
        "uid" : {
          "title" : "Uid",
          "readOnly" : true,
          "type" : "string"
        },
        "emailAddress" : {
          "title" : "Email address",
          "readOnly" : false,
          "type" : "object",
          "$ref" : "#/definitions/emailAddress"
        },
        "phoneNumber" : {
          "title" : "Phone number",
          "readOnly" : false,
          "type" : "string"
        },
        "members" : {
          "title" : "Members",
          "readOnly" : false,
          "type" : "string",
          "format" : "uri"
        },
        "name" : {
          "title" : "Name",
          "readOnly" : false,
          "type" : "string"
        },
        "modified_by" : {
          "title" : "Modified by",
          "readOnly" : false,
          "type" : "string"
        },
        "created_at" : {
          "title" : "Created at",
          "readOnly" : true,
          "type" : "string",
          "format" : "date-time"
        },
        "modified_at" : {
          "title" : "Modified at",
          "readOnly" : false,
          "type" : "string",
          "format" : "date-time"
        },
        "created_by" : {
          "title" : "Created by",
          "readOnly" : true,
          "type" : "string"
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all applications
A GET request will list all the public applications and the applications owned by the currently logged-in user.
Curl request
$ curl 'http://api.example.com/applications' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /applications HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 20622
{
  "_embedded" : {
    "applications" : [ {
      "name" : "testRevoke",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "test_revoke",
      "owners" : {
        "name" : "Team Kad",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841869644c2ad8b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "",
      "uid" : "39d82d7994484b53ae1de37ee8924512",
      "created_at" : "2020-11-01T23:16:23",
      "modified_at" : "2020-11-01T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication2 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924502",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "tenantaApplication3 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app4",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication4 description.",
      "uid" : "4180e2f2493944948e4df46ba36ba964",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaAutoApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app3",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "4cc380171afc4c898b6f6c02caccf451",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination10",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaAutoApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app4",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "aec9e4570f1c4866bef77722e2830d4b",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication14",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "shortName" : "tenanta_app14",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination5",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination5",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e92e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831a74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination9",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination9",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74cf1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination7",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination7",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7377",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination6",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e17",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantbApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenantb_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination11",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination11",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff6beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination4",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831cc4ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination8",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination8",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98ef831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2f98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 31,
    "totalPages" : 2,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can create a new Application | 
Create Custom application
A POST request is used to create a new application.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the Application. Must be unique per tenant. | Must match the regular expression  | 
| applicationId | String | The applicationId of the Application, usually a fully qualified class name and underscores  | |
| shortName | String | Unique human-readable name for the application. Only Alphanumeric and underscore allowed. Must be unique per tenant. | Must match the regular expression  | 
| owners | String | A valid URI of an existing group, must not be null. | Must not be null | 
| description | String | A short summary describing the application | Size must be between 0 and 200 inclusive | 
| visibility | String | Defines the visibility of this application. Possible values are  | |
| applicationType | String | Application Axual type. Possible values are  | Must not be null | 
| type | String | Application software. Possible values: Java, Pega, SAP, DotNet, Bridge | 
Curl request
$ curl 'http://api.example.com/applications' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "applicationId" : "nl.tenanta.test.application,nl.tenanta.test.application2",
  "name" : "Test Application",
  "shortName" : "test_app",
  "description" : "This is a test application",
  "applicationType" : "CUSTOM",
  "type" : "Java",
  "visibility" : "PRIVATE",
  "owners" : "http://api.example.com/groups/514d4oit834841869644c2ad8b439997"
}'HTTP request
POST /applications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 347
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "nl.tenanta.test.application,nl.tenanta.test.application2",
  "name" : "Test Application",
  "shortName" : "test_app",
  "description" : "This is a test application",
  "applicationType" : "CUSTOM",
  "type" : "Java",
  "visibility" : "PRIVATE",
  "owners" : "http://api.example.com/groups/514d4oit834841869644c2ad8b439997"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:28:46 GMT
Location: http://api.example.com/applications/ddab0b3be7fd41a2aea9741a2034c77a
Content-Type: application/hal+json
Content-Length: 4431
{
  "name" : "Test Application",
  "shortName" : "test_app",
  "description" : "This is a test application",
  "applicationType" : "Custom",
  "type" : "Java",
  "applicationClass" : null,
  "visibility" : "private",
  "owners" : {
    "name" : "Team App Admins",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "514d4oit834841869644c2ad8b439997",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appAuthor",
        "emailAddress" : {
          "email" : "appauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "s39sef147df84179a151bdc21f5bb813",
        "middleName" : "middleName",
        "phoneNumber" : null,
        "firstName" : "tenAdmin",
        "emailAddress" : {
          "email" : "tenadmin@tenantactive.nl"
        },
        "lastName" : "TenantActive",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "caa51002633244ffbe36f4ccf8a8f501",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appAdmin",
        "emailAddress" : {
          "email" : "appadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "powerUser",
        "emailAddress" : {
          "email" : "poweruser@tenantactive.nl"
        },
        "lastName" : "powerUser",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "nl.tenanta.test.application", "nl.tenanta.test.application2" ],
  "uid" : "ddab0b3be7fd41a2aea9741a2034c77a",
  "created_at" : "2023-10-09T09:28:46.966791595",
  "modified_at" : "2023-10-09T09:28:46.966791595",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "applicationId" : "nl.tenanta.test.application,nl.tenanta.test.application2",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Create Connector application
A POST request is used to create a new connector application.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the Application. Must be unique per tenant. | Must match the regular expression  | 
| applicationId | String | The applicationId of the Application, usually a fully qualified class name. Must be unique. | |
| shortName | String | Unique human-readable name for the application. Only Alphanumeric and underscore allowed. Must be unique per tenant. | Must match the regular expression  | 
| owners | String | The group id that describes the group details and must not be null. | Must not be null | 
| description | String | A short summary describing the application | Size must be between 0 and 200 inclusive | 
| visibility | String | Defines the visibility of this application. Possible values are  | |
| applicationType | String | Application Axual type. Possible values are  | Must not be null | 
| applicationClass | String | Meaningful only when  | |
| applicationClassVersion | String | Meaningful only when  | |
| type | String | When  | 
Curl request
$ curl 'http://api.example.com/applications' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "applicationId" : "com.axual.turbulence.connector.application1",
  "name" : "Test Connector Application",
  "shortName" : "test_cnnt_app",
  "description" : "This is a connector test application",
  "applicationType" : "CONNECTOR",
  "type" : "sink",
  "applicationClass" : "io.axual.distributor.logger.MessageLogger",
  "applicationClassVersion" : "1.0.0",
  "visibility" : "PRIVATE",
  "owners" : "http://api.example.com/groups/514d4oit834841869644c2ad8b439997"
}'HTTP request
POST /applications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 469
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "com.axual.turbulence.connector.application1",
  "name" : "Test Connector Application",
  "shortName" : "test_cnnt_app",
  "description" : "This is a connector test application",
  "applicationType" : "CONNECTOR",
  "type" : "sink",
  "applicationClass" : "io.axual.distributor.logger.MessageLogger",
  "applicationClassVersion" : "1.0.0",
  "visibility" : "PRIVATE",
  "owners" : "http://api.example.com/groups/514d4oit834841869644c2ad8b439997"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:28:46 GMT
Location: http://api.example.com/applications/146d1ccc5a454fa1bc83a14c74b408fb
Content-Type: application/hal+json
Content-Length: 4533
{
  "name" : "Test Connector Application",
  "shortName" : "test_cnnt_app",
  "description" : "This is a connector test application",
  "applicationType" : "Connector",
  "type" : "sink",
  "applicationClass" : "io.axual.distributor.logger.MessageLogger",
  "visibility" : "private",
  "owners" : {
    "name" : "Team App Admins",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "514d4oit834841869644c2ad8b439997",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appAuthor",
        "emailAddress" : {
          "email" : "appauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "s39sef147df84179a151bdc21f5bb813",
        "middleName" : "middleName",
        "phoneNumber" : null,
        "firstName" : "tenAdmin",
        "emailAddress" : {
          "email" : "tenadmin@tenantactive.nl"
        },
        "lastName" : "TenantActive",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "caa51002633244ffbe36f4ccf8a8f501",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appAdmin",
        "emailAddress" : {
          "email" : "appadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "powerUser",
        "emailAddress" : {
          "email" : "poweruser@tenantactive.nl"
        },
        "lastName" : "powerUser",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "com.axual.turbulence.connector.application1" ],
  "uid" : "146d1ccc5a454fa1bc83a14c74b408fb",
  "created_at" : "2023-10-09T09:28:46.82581521",
  "modified_at" : "2023-10-09T09:28:46.82581521",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "applicationId" : "com.axual.turbulence.connector.application1",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "createApplicationDeployment" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Create Default application configuration (Deprecated)
A PATCH request is used to create a default configuration for a connector application.
Curl request
$ curl 'http://api.example.com/applications/dbc9e4670h1c4866deg78722e2930d2g' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "applicationDefaults" : {
    "test.app.id" : "io.axual.connect.app.id"
  }
}'HTTP request
PATCH /applications/dbc9e4670h1c4866deg78722e2930d2g HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 81
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationDefaults" : {
    "test.app.id" : "io.axual.connect.app.id"
  }
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 3690
{
  "name" : "tenantaApplication6",
  "shortName" : "tenanta_app6",
  "description" : "",
  "applicationType" : "Connector",
  "type" : "SINK",
  "applicationClass" : "io.axual.test.sink.plugin",
  "visibility" : "public",
  "owners" : {
    "name" : "Application-tenAApplication1",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAuthor",
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "7cb463240b8049578b298c214c28512a",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAdmin",
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appOwner",
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "nl.tenanta.app6" ],
  "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "applicationId" : "nl.tenanta.app6",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "createApplicationDeployment" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Retrieve an application
The applications/{id} resource is used to retrieve, update and delete individual application.
A GET request will retrieve the details of an application.
HTTP request
GET /applications/5ffc4240fcdf4a479a16f2b0b12ab909 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 3673
{
  "name" : "tenantaApplication1",
  "shortName" : "tenanta_app1",
  "description" : "tenantaApplication1 description.",
  "applicationType" : "Custom",
  "type" : "Java",
  "applicationClass" : null,
  "visibility" : "public",
  "owners" : {
    "name" : "Application-tenAApplication1",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAuthor",
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "7cb463240b8049578b298c214c28512a",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAdmin",
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appOwner",
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
  "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can edit this Application | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this Application | 
| 
 | Existence of this link indicates that the currently authenticated user can create the ApplicationPrincipal for this Application | 
| 
 | Existence of this link indicates that the currently authenticated user can request consuming or producing streams for this Application | 
Retrieve a connector/plugin config
The applications/{id}/config resource is used to retrieve default connector config define in the plugin class for a specific environment.
A GET request will retrieve the details of a connector/plugin config using a specific Environment resource.
If the environment has not configured this plugin class, the response will be empty.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Environment | 
HTTP request
GET /applications/dbc9e4670h1c4866deg78722e2930d2g/config?environment=http%3A%2F%2Flocalhost%2Fenvironments%2F047ab08009fe4da8be6905b55552ab52 HTTP/1.1
Content-Type: application/json
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 2155
{
  "pluginConfigs" : [ {
    "name" : "connector.class",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "HIGH",
    "documentation" : "Name or alias of the class for this connector. Must be a subclass of org.apache.kafka.connect.connector.Connector. If the connector is org.apache.kafka.connect.file.FileStreamSinkConnector, you can either specify this full name,  or use \"FileStreamSink\" or \"FileStreamSinkConnector\" to make the configuration a bit shorter",
    "pluginConfigState" : null,
    "group" : "group1"
  }, {
    "name" : "key.converter",
    "type" : "CLASS",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "LOW",
    "documentation" : null,
    "pluginConfigState" : null,
    "group" : "group1"
  }, {
    "name" : "logger.name",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "HIGH",
    "documentation" : "The name of the SLF4J Logger to write the messages",
    "pluginConfigState" : null,
    "group" : "group2"
  }, {
    "name" : "name",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "HIGH",
    "documentation" : "Globally unique name to use for this connector.",
    "pluginConfigState" : null,
    "group" : "group2"
  }, {
    "name" : "tasks.max",
    "type" : "INT",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "LOW",
    "documentation" : null,
    "pluginConfigState" : null,
    "group" : "group3"
  }, {
    "name" : "transforms",
    "type" : "LIST",
    "required" : true,
    "defaultValue" : "",
    "providedValue" : "",
    "importance" : "LOW",
    "documentation" : "Aliases for the transformations to be applied to records.",
    "pluginConfigState" : null,
    "group" : "group1"
  } ],
  "unsupportedPluginConfigFound" : false,
  "newMandatoryPluginConfigFound" : false,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | URI pointing to current request | 
If the environment is not passed, the first instance will be used for searching the plugin config.
HTTP request
GET /applications/dbc9e4670h1c4866deg78722e2930d2g/config HTTP/1.1
Content-Type: application/json
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 225
{
  "pluginConfigs" : [ ],
  "unsupportedPluginConfigFound" : false,
  "newMandatoryPluginConfigFound" : false,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | URI pointing to current request | 
Retrieve an application default connector config (Deprecated)
Use Retrieve a connector/plugin config instead.
The applications/{id}/config resource is used to retrieve application default connector config when available.
The defaultValue values come from connector default configuration.
The providedValue values come from application default configuration.
A GET request will retrieve the details of an application default connector config combined with ConnectPluginInfo.
Update an application
A PATCH request is used to update an application.
In the request, pass only the field that needs changing.
Curl request
$ curl 'http://api.example.com/applications/39d82d7994484b53ae1de37ee8924512' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "updated_name"
}'HTTP request
PATCH /applications/39d82d7994484b53ae1de37ee8924512 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 29
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "updated_name"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Sun, 01 Nov 2020 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 2256
{
  "name" : "updated_name",
  "shortName" : "test_revoke",
  "description" : "",
  "applicationType" : "Custom",
  "type" : "Java",
  "applicationClass" : null,
  "visibility" : "private",
  "owners" : {
    "name" : "Team Kad",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "514d4e9a834841869644c2ad8b439553",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "007b994a6ab34165a93fd4c7a8db1388",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "kad",
        "emailAddress" : {
          "email" : "kadmember@tenanta.nl"
        },
        "lastName" : "member",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }
    }
  },
  "allApplicationIds" : [ "nl.tenanta.app.revoke" ],
  "uid" : "39d82d7994484b53ae1de37ee8924512",
  "created_at" : "2020-11-01T23:16:23",
  "modified_at" : "2020-11-01T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "applicationId" : "nl.tenanta.app.revoke",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Update an application Shortname
Changing the application shortname is not allowed when one of the below conditions is matched.
- 
application has deployment configured (either started or stopped) 
- 
application has credential configured 
- 
application has principal configured 
Curl request
$ curl 'http://api.example.com/applications/5ffc4240fcdf4a479a16f2b0b12ab909' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "shortName" : "updated_name"
}'HTTP request
PATCH /applications/5ffc4240fcdf4a479a16f2b0b12ab909 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 34
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "shortName" : "updated_name"
}HTTP response
HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 838
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "errmsg.notupdatable.application.shortName.Application.shortNameerrmsg.notupdatable.application.shortName.shortNameerrmsg.notupdatable.application.shortName.java.lang.StringApplication ShortName cannot be edited as there are existing Credentials, Deployments, or Principals for this application." ],
  "subErrors" : [ {
    "field" : "Application.shortName",
    "rejectedValue" : "updated_name",
    "recommendedValues" : null,
    "errors" : [ "errmsg.notupdatable.application.shortName.Application.shortName", "errmsg.notupdatable.application.shortName.shortName", "errmsg.notupdatable.application.shortName.java.lang.String", "Application ShortName cannot be edited as there are existing Credentials, Deployments, or Principals for this application." ]
  } ]
}Update an application id
When updating the applicationId you should consider the following risks:
- 
existing consumers will stop reading since the applicationId has changed 
- 
the new applicationID will make the new consumer read from the earliest offset available on the stream 
Curl request
$ curl 'http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924502' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "applicationId" : "updated_applicationId"
}'HTTP request
PATCH /applications/39d82d7f34484b53ae1dd47ee8924502 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 47
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "updated_applicationId"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "1"
Last-Modified: Mon, 09 Oct 2023 09:28:46 GMT
Content-Type: application/hal+json
Content-Length: 3670
{
  "name" : "tenantaApplication2",
  "shortName" : "tenanta_app2",
  "description" : "tenantaApplication2 description.",
  "applicationType" : "Custom",
  "type" : "Java",
  "applicationClass" : null,
  "visibility" : "public",
  "owners" : {
    "name" : "Application-tenAApplication1",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAuthor",
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "7cb463240b8049578b298c214c28512a",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAdmin",
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appOwner",
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "updated_applicationId" ],
  "uid" : "39d82d7f34484b53ae1dd47ee8924502",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2023-10-09T09:28:46.513014584",
  "created_by" : null,
  "modified_by" : "poweruser@tenanta.nl",
  "applicationId" : "updated_applicationId",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Search endpoints
/applications/search/findByAttributes
A GET request is used to retrieve all applications based on paging parameters.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Property to sort on and the direction. | 
| 
 | Navigate through different pages. | 
| 
 | Property to define the page size. | 
HTTP request
GET /applications/search/findByAttributes?sort=name%2Casc&page=0&size=5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 19940
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenanta_app_pagination1",
      "shortName" : "tenanta_app_pagination1",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "shortName" : "tenanta_app_pagination10",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination11",
      "shortName" : "tenanta_app_pagination11",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74ff6beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination2",
      "shortName" : "tenanta_app_pagination2",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2f98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination3",
      "shortName" : "tenanta_app_pagination3",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831a74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 5,
    "totalElements" : 31,
    "totalPages" : 7,
    "number" : 0
  }
}Filter by name
A GET request will retrieve an application by name. The parameter name is not case-sensitive.
| This endpoint replaces the /applications/search/findByName. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application name to search for. | 
HTTP request
GET /applications/search/findByAttributes?name=tenantaApplication1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 24410
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication1",
      "shortName" : "tenanta_app1",
      "description" : "tenantaApplication1 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication14",
      "shortName" : "tenanta_app14",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app14" ],
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app14",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication12",
      "shortName" : "tenanta_app12",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app12" ],
      "uid" : "dhi9f4200h1c4230deg74322e2931e49",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app12",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication13",
      "shortName" : "tenanta_app13",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app13" ],
      "uid" : "ebd8f4670h1c4866deg78722e2930e3f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app13",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication11",
      "shortName" : "tenanta_app11",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app11" ],
      "uid" : "ioi9f4670h1c4866deg78722e2921f5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app11",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication10",
      "shortName" : "tenanta_app10",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app10" ],
      "uid" : "lmk9f4670h1c4866deg78722e2931e5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app10",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 6,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by shortName
A GET request will retrieve an application by shortName. The parameter shortName is not case-sensitive.
| This endpoint replaces the /applications/search/findByShortName. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application short name to search for. | 
HTTP request
GET /applications/search/findByAttributes?shortName=tenanta_app3 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4303
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication3",
      "shortName" : "tenanta_app3",
      "description" : "tenantaApplication3 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app3" ],
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app3",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by applicationType
A GET request will retrieve an application by applicationType. The parameter applicationType is not case-sensitive.
| This endpoint replaces the /applications/search/findByApplicationType. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application type to search for. | 
HTTP request
GET /applications/search/findByAttributes?applicationType=CUSTOM HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 76800
{
  "_embedded" : {
    "applications" : [ {
      "name" : "testRevoke",
      "shortName" : "test_revoke",
      "description" : "",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Team Kad",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841869644c2ad8b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "007b994a6ab34165a93fd4c7a8db1388",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "kad",
            "emailAddress" : {
              "email" : "kadmember@tenanta.nl"
            },
            "lastName" : "member",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app.revoke" ],
      "uid" : "39d82d7994484b53ae1de37ee8924512",
      "created_at" : "2020-11-01T23:16:23",
      "modified_at" : "2020-11-01T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app.revoke",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication2",
      "shortName" : "tenanta_app2",
      "description" : "tenantaApplication2 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app2" ],
      "uid" : "39d82d7f34484b53ae1dd47ee8924502",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app2",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "shortName" : "tenanta_app3",
      "description" : "tenantaApplication3 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app3" ],
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app3",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication4",
      "shortName" : "tenanta_app4",
      "description" : "tenantaApplication4 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "ea0e7f147df84179a151bdc21f5bb813",
            "middleName" : "middleName",
            "phoneNumber" : null,
            "firstName" : "tenAdmin",
            "emailAddress" : {
              "email" : "tenadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "powerUser",
            "emailAddress" : {
              "email" : "poweruser@tenanta.nl"
            },
            "lastName" : "powerUser",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envOwner",
            "emailAddress" : {
              "email" : "envowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "4180e2f2493944948e4df46ba36ba964",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaAutoApplication3",
      "shortName" : "tenanta_auto_app3",
      "description" : "",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAuthor",
            "emailAddress" : {
              "email" : "appauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "s39sef147df84179a151bdc21f5bb813",
            "middleName" : "middleName",
            "phoneNumber" : null,
            "firstName" : "tenAdmin",
            "emailAddress" : {
              "email" : "tenadmin@tenantactive.nl"
            },
            "lastName" : "TenantActive",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "caa51002633244ffbe36f4ccf8a8f501",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAdmin",
            "emailAddress" : {
              "email" : "appadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "powerUser",
            "emailAddress" : {
              "email" : "poweruser@tenantactive.nl"
            },
            "lastName" : "powerUser",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.auto.app3" ],
      "uid" : "4cc380171afc4c898b6f6c02caccf451",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.auto.app3",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication1",
      "shortName" : "tenanta_app1",
      "description" : "tenantaApplication1 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "shortName" : "tenanta_app_pagination10",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaAutoApplication4",
      "shortName" : "tenanta_auto_app4",
      "description" : "",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAuthor",
            "emailAddress" : {
              "email" : "appauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "s39sef147df84179a151bdc21f5bb813",
            "middleName" : "middleName",
            "phoneNumber" : null,
            "firstName" : "tenAdmin",
            "emailAddress" : {
              "email" : "tenadmin@tenantactive.nl"
            },
            "lastName" : "TenantActive",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "caa51002633244ffbe36f4ccf8a8f501",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAdmin",
            "emailAddress" : {
              "email" : "appadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "powerUser",
            "emailAddress" : {
              "email" : "poweruser@tenantactive.nl"
            },
            "lastName" : "powerUser",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.auto.app4" ],
      "uid" : "aec9e4570f1c4866bef77722e2830d4b",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.auto.app4",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination1",
      "shortName" : "tenanta_app_pagination1",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination5",
      "shortName" : "tenanta_app_pagination5",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e92e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination3",
      "shortName" : "tenanta_app_pagination3",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831a74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination9",
      "shortName" : "tenanta_app_pagination9",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74cf1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination7",
      "shortName" : "tenanta_app_pagination7",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74ff1beb09510d0bf7377",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination6",
      "shortName" : "tenanta_app_pagination6",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e17",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantbApplication2",
      "shortName" : "tenantb_app2",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination11",
      "shortName" : "tenanta_app_pagination11",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831c74ff6beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination4",
      "shortName" : "tenanta_app_pagination4",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98e1831cc4ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination8",
      "shortName" : "tenanta_app_pagination8",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2e98ef831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenanta_app_pagination2",
      "shortName" : "tenanta_app_pagination2",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "d2f98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaAutoApplication5",
      "shortName" : "tenanta_auto_app_5",
      "description" : null,
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Operators",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "f1dc3907c5b414c9ea97e60258e4cfbf",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "eee88f8a9916441d89f19aad7c4541af",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "superAdmin",
            "emailAddress" : {
              "email" : "superadmin@supertesttenant.nl"
            },
            "lastName" : "suptsttenant",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "members" : {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }
        }
      },
      "allApplicationIds" : [ "nl.tenanta.auto.app5" ],
      "uid" : "f2effe1852b74ff6beb09510d0bf7e77",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.auto.app5",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 22,
    "totalPages" : 2,
    "number" : 0
  }
}Filter by visibility
A GET request will retrieve an application by visibility.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application visibility to search for. | 
HTTP request
GET /applications/search/findByAttributes?visibility=PRIVATE HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 15355
{
  "_embedded" : {
    "applications" : [ {
      "name" : "testRevoke",
      "shortName" : "test_revoke",
      "description" : "",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Team Kad",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841869644c2ad8b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "007b994a6ab34165a93fd4c7a8db1388",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "kad",
            "emailAddress" : {
              "email" : "kadmember@tenanta.nl"
            },
            "lastName" : "member",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app.revoke" ],
      "uid" : "39d82d7994484b53ae1de37ee8924512",
      "created_at" : "2020-11-01T23:16:23",
      "modified_at" : "2020-11-01T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app.revoke",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "shortName" : "tenanta_app3",
      "description" : "tenantaApplication3 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app3" ],
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app3",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaPrivApp3",
      "shortName" : "tenanta_priv_app3_2",
      "description" : "tenantaPrivApp3 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "private",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAuthor",
            "emailAddress" : {
              "email" : "appauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "s39sef147df84179a151bdc21f5bb813",
            "middleName" : "middleName",
            "phoneNumber" : null,
            "firstName" : "tenAdmin",
            "emailAddress" : {
              "email" : "tenadmin@tenantactive.nl"
            },
            "lastName" : "TenantActive",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "caa51002633244ffbe36f4ccf8a8f501",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appAdmin",
            "emailAddress" : {
              "email" : "appadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "powerUser",
            "emailAddress" : {
              "email" : "poweruser@tenantactive.nl"
            },
            "lastName" : "powerUser",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "f692ca5191764258b7257a6b2a7fb188",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication10",
      "shortName" : "tenanta_app10",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app10" ],
      "uid" : "lmk9f4670h1c4866deg78722e2931e5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app10",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 4,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by applicationId
A GET request will retrieve an application by applicationId. The parameter applicationId is case-sensitive.
| This endpoint replaces /applications/search/findByApplicationId. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application Id to search for. | 
HTTP request
GET /applications/search/findByAttributes?applicationId=nl.tenanta.app1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4345
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication1",
      "shortName" : "tenanta_app1",
      "description" : "tenantaApplication1 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by applicationClass
A GET request will retrieve an application by applicationClass. The parameter applicationClass is not case-sensitive.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application Class to search for. | 
HTTP request
GET /applications/search/findByAttributes?applicationClass=io.axual.test.sink.plugin HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 32447
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication6",
      "shortName" : "tenanta_app6",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app6" ],
      "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app6",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication12",
      "shortName" : "tenanta_app12",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app12" ],
      "uid" : "dhi9f4200h1c4230deg74322e2931e49",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app12",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication7",
      "shortName" : "tenanta_app7",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app7" ],
      "uid" : "ead8f4670h1c4866deg78722e2930e3f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app7",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication13",
      "shortName" : "tenanta_app13",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app13" ],
      "uid" : "ebd8f4670h1c4866deg78722e2930e3f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app13",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication8",
      "shortName" : "tenanta_app8",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app8" ],
      "uid" : "fbe9f4670h1c4866deg78722e2931e4g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app8",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication9",
      "shortName" : "tenanta_app9",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app9" ],
      "uid" : "ghi9f4670h1c4866deg78722e2931e4g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app9",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication11",
      "shortName" : "tenanta_app11",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app11" ],
      "uid" : "ioi9f4670h1c4866deg78722e2921f5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app11",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    }, {
      "name" : "tenantaApplication10",
      "shortName" : "tenanta_app10",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "visibility" : "private",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app10" ],
      "uid" : "lmk9f4670h1c4866deg78722e2931e5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app10",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 8,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by myApplications
A GET request will retrieve an application owned by the user if the parameter myApplications is set to true.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | My Applications to search for owned applications. | 
HTTP request
GET /applications/search/findByAttributes?myApplications=true HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4271
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication4",
      "shortName" : "tenanta_app4",
      "description" : "tenantaApplication4 description.",
      "applicationType" : "Custom",
      "type" : "Java",
      "applicationClass" : null,
      "visibility" : "public",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "ea0e7f147df84179a151bdc21f5bb813",
            "middleName" : "middleName",
            "phoneNumber" : null,
            "firstName" : "tenAdmin",
            "emailAddress" : {
              "email" : "tenadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "powerUser",
            "emailAddress" : {
              "email" : "poweruser@tenanta.nl"
            },
            "lastName" : "powerUser",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envOwner",
            "emailAddress" : {
              "email" : "envowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ ],
      "uid" : "4180e2f2493944948e4df46ba36ba964",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by multiple attributes
A GET request can be used to search an application based on multiple params.
name, shortName, applicationType, applicationClass, applicationId and visibility are optional parameters.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application name to search for. | 
| 
 | Application id list to search for. | 
| 
 | Application short name to search for. | 
| 
 | Application type to search for. | 
| 
 | Application Class to search for. | 
| 
 | Application visibility to search for. | 
HTTP request
GET /applications/search/findByAttributes?name=tenantaApplication14&applicationId=nl.tenanta.app14&shortName=tenanta_app14&applicationType=CONNECTOR&applicationClass=io.axual.test.source.plugin&visibility=PUBLIC HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4382
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication14",
      "shortName" : "tenanta_app14",
      "description" : "",
      "applicationType" : "Connector",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "visibility" : "public",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null,
        "_embedded" : {
          "members" : [ {
            "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAuthor",
            "emailAddress" : {
              "email" : "envauthor@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "7cb463240b8049578b298c214c28512a",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "envAdmin",
            "emailAddress" : {
              "email" : "envadmin@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          }, {
            "uid" : "51234a7a81994d1ca35ca7894cde08c6",
            "middleName" : null,
            "phoneNumber" : null,
            "firstName" : "appOwner",
            "emailAddress" : {
              "email" : "appowner@tenanta.nl"
            },
            "lastName" : "TenantA",
            "_links" : {
              "tenant" : {
                "href" : "...",
                "title" : "A tenant"
              },
              "self" : {
                "href" : "...",
                "templated" : true,
                "title" : "URI pointing to current request"
              }
            }
          } ]
        },
        "_links" : {
          "edit" : {
            "href" : "...",
            "title" : "Indication that this entity can be edited"
          },
          "delete" : {
            "href" : "...",
            "title" : "Indication that this entity can be deleted"
          },
          "members" : [ {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          }, {
            "href" : "...",
            "templated" : true,
            "title" : "Users belonging to this group"
          } ]
        }
      },
      "allApplicationIds" : [ "nl.tenanta.app14" ],
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "applicationId" : "nl.tenanta.app14",
      "_links" : {
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "createApplicationPrincipal" : {
          "href" : "..."
        },
        "createApplicationAccess" : {
          "href" : "..."
        },
        "createApplicationDeployment" : {
          "href" : "..."
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/applications/search/findByName
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Search for an application by exact name.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application name to search for | 
HTTP request
GET /applications/search/findByName?name=tenantaApplication1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1174
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/applications/search/findByNameContaining
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Search for an application by name containing search term.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Term to search within application name. | 
HTTP request
GET /applications/search/findByNameContaining?name=app HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 18549
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication2 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924502",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "tenantaApplication3 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app4",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication4 description.",
      "uid" : "4180e2f2493944948e4df46ba36ba964",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaAutoApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app3",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "4cc380171afc4c898b6f6c02caccf451",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination10",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaAutoApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app4",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "aec9e4570f1c4866bef77722e2830d4b",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication14",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "shortName" : "tenanta_app14",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination5",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination5",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e92e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831a74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination9",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination9",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74cf1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination7",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination7",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7377",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination6",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e17",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantbApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenantb_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination11",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination11",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff6beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination4",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831cc4ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination8",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination8",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98ef831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2f98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication6",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 30,
    "totalPages" : 2,
    "number" : 0
  }
}/applications/search/findByNameContaining
Search for an application by name containing search term and order by a nested property.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Term to search within application name. | 
| 
 | Property to sort on and the direction. | 
HTTP request
GET /applications/search/findByNameContaining?name=app&sort=owners.name%2Casc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 18632
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenanta_app_pagination1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination10",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination11",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination11",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff6beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2f98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831a74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination4",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831cc4ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination5",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination5",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e92e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination6",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7e17",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination7",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination7",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74ff1beb09510d0bf7377",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination8",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination8",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98ef831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta_app_pagination9",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination9",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e98e1831c74cf1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication10",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app10",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "",
      "uid" : "lmk9f4670h1c4866deg78722e2931e5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication11",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app11",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "ioi9f4670h1c4866deg78722e2921f5g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication12",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app12",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "dhi9f4200h1c4230deg74322e2931e49",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication13",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app13",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "ebd8f4670h1c4866deg78722e2930e3f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication14",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "shortName" : "tenanta_app14",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication2 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924502",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "tenantaApplication3 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenantaApplication6",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 30,
    "totalPages" : 2,
    "number" : 0
  }
}/applications/search/findByShortName
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Search for an application by exact short_name.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application short name to search for | 
HTTP request
GET /applications/search/findByShortName?shortName=tenanta_app1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1174
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/applications/search/findByApplicationId
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Search for an application by applicationId containing search term.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Application Id to search for | 
HTTP request
GET /applications/search/findByApplicationId?applicationId=nl.tenanta.app1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 3673
{
  "name" : "tenantaApplication1",
  "shortName" : "tenanta_app1",
  "description" : "tenantaApplication1 description.",
  "applicationType" : "Custom",
  "type" : "Java",
  "applicationClass" : null,
  "visibility" : "public",
  "owners" : {
    "name" : "Application-tenAApplication1",
    "emailAddress" : null,
    "phoneNumber" : null,
    "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : null,
    "created_by" : null,
    "modified_by" : null,
    "_embedded" : {
      "members" : [ {
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAuthor",
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "7cb463240b8049578b298c214c28512a",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "envAdmin",
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      }, {
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "middleName" : null,
        "phoneNumber" : null,
        "firstName" : "appOwner",
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "lastName" : "TenantA",
        "_links" : {
          "tenant" : {
            "href" : "...",
            "title" : "A tenant"
          },
          "self" : {
            "href" : "...",
            "templated" : true,
            "title" : "URI pointing to current request"
          }
        }
      } ]
    },
    "_links" : {
      "edit" : {
        "href" : "...",
        "title" : "Indication that this entity can be edited"
      },
      "delete" : {
        "href" : "...",
        "title" : "Indication that this entity can be deleted"
      },
      "members" : [ {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      }, {
        "href" : "...",
        "templated" : true,
        "title" : "Users belonging to this group"
      } ]
    }
  },
  "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
  "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "createApplicationPrincipal" : {
      "href" : "..."
    },
    "createApplicationAccess" : {
      "href" : "..."
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}/applications/search/findByApplicationType
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Search for an application by applicationType term.
search all custom applications
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Type of applications to search for. | 
| 
 | Property to define the page size. | 
HTTP request
GET /applications/search/findByApplicationType?applicationType=CUSTOM&size=10 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 10434
{
  "_embedded" : {
    "applications" : [ {
      "name" : "testRevoke",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "test_revoke",
      "owners" : {
        "name" : "Team Kad",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841869644c2ad8b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "",
      "uid" : "39d82d7994484b53ae1de37ee8924512",
      "created_at" : "2020-11-01T23:16:23",
      "modified_at" : "2020-11-01T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication2",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app2",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication2 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924502",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app3",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "private",
      "description" : "tenantaApplication3 description.",
      "uid" : "39d82d7f34484b53ae1dd47ee8924512",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app4",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication4 description.",
      "uid" : "4180e2f2493944948e4df46ba36ba964",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaAutoApplication3",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app3",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "4cc380171afc4c898b6f6c02caccf451",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination10",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination10",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "a2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaAutoApplication4",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_auto_app4",
      "owners" : {
        "name" : "Team App Admins",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4oit834841869644c2ad8b439997",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "aec9e4570f1c4866bef77722e2830d4b",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "c2e98e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenanta_app_pagination5",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app_pagination5",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : null,
      "uid" : "d2e92e1831c74ff1beb09510d0bf7e77",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 10,
    "totalElements" : 22,
    "totalPages" : 3,
    "number" : 0
  }
}search all connector applications
| The endpoint is deprecated. Please refer to /applications/search/findByAttributes for searching an application. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Type of applications to search for. | 
| 
 | Property to define the page size. | 
HTTP request
GET /applications/search/findByApplicationType?applicationType=CONNECTOR&size=2 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 2507
{
  "_embedded" : {
    "applications" : [ {
      "name" : "tenantaApplication14",
      "type" : "SOURCE",
      "applicationClass" : "io.axual.test.source.plugin",
      "shortName" : "tenanta_app14",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "bb3234224b974292a607fe9dd80fe1ae",
      "created_at" : "2021-02-02T13:16:23",
      "modified_at" : "2021-02-02T13:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    }, {
      "name" : "tenantaApplication6",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 2,
    "totalElements" : 9,
    "totalPages" : 5,
    "number" : 0
  }
}Delete endpoints
Deleting application is a two-step process a GET request to check the constraints followed by the DELETE request
Delete application constraints
A GET request is used to get the constraints for deleting Application.
Curl request
$ curl 'http://api.example.com/applications/5ffc4240fcdf4a479a16f2b0b12ab909/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /applications/5ffc4240fcdf4a479a16f2b0b12ab909/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 84
{
  "canDelete" : false,
  "activeGrantsCount" : 2,
  "activeDeploymentsCount" : 0
}Delete application
A DELETE request is used to delete an Application.
Curl request
$ curl 'http://api.example.com/applications/fdc9e4570f1c4866bef77722e2830d5g' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /applications/fdc9e4570f1c4866bef77722e2830d5g HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersExternal Provider Specific
Store accountId of confluentCloud (Deprecated)
A POST request to applications/{id}/storeAccountId is used to store an accountId for Confluent Cloud provider in Platform Manager.
| The endpoint applications/{id}/storeAccountIdis deprecated. Please refer to Create Credential on Confluent Cloud for creating auth on Confluent Cloud. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | AccountId created on Confluent Cloud. | 
| 
 | In case of supporting multi-environment, environmentId must be specified. | 
HTTP request
POST /applications/8180e2f2493944948e4df46ba36ba953/storeAccountId?accountId=123456&environment=12w33e918d49430fbf1d8cc7494d22e3 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Type: application/x-www-form-urlencoded
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 153
{
  "uid" : "62d2d6910ccf4b11a48f542f3bd232e2",
  "username" : "123456",
  "password" : null,
  "types" : [ "SCRAM_SHA_256", "PLAIN", "SCRAM_SHA_512" ]
}Create User on Aiven provider (Deprecated)
A POST request to applications/{id}/generateAuth is used to create a user on Aiven provider and store it in Platform Manager.
| The endpoint applications/{id}/generateAuthis deprecated. Please refer to Create Authentication on any Providers for creating auth on Aiven. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | In case of supporting multi-environment, environmentId must be specified. | 
HTTP request
POST /applications/9520e2f2493944948e4df46ba36ba953/generateAuth?environment=48c53e918d49430fbf1d8cc7494d24d4 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Type: application/x-www-form-urlencoded
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 7319
{
  "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIB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yu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
  "username" : "UserNameForAiven",
  "password" : "PasswordForAiven"
}Create Authentication on any Providers
Create User on Aiven
A POST request will create a user on Aiven provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Environment. | Must not be null | 
HTTP request
POST /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 114
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "8180e2f2493944948e4df46ba36ba953",
  "environmentId" : "84d93e918d49430fbf1d8cc7494d24d4"
}HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 7378
[ {
  "authData" : {
    "privateKey" : "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCjwMgtTosVcSk3\nYNwPt/2FoAyr112UNgOiYMzs8CTtTBgZS7JylfXXP2xJ1s7lrRY1z+o3ZmL+0+ft\nxitih3qewsb418FIxg1qS9ztq3xibabYjeTmSVAzdgdJNR/5r07cZ/PpDZdnoa8c\nh/reiYQfxwEP1+T0EuYMqBAfBw1/2a9Zrix7042xjWUaz9H6ruGYYtltvKvaVZKt\nenQYop+jG1L+a/RnSVy6/G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5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----",
    "password" : "PasswordForAiven",
    "provider" : "aiven",
    "certificate" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMA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NRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
    "username" : "UserNameForAiven"
  }
} ]Create Credential on Confluent Cloud
A POST request will create a credential on Confluent Cloud provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Environment. | Must not be null | 
HTTP request
POST /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 114
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "8180e2f2493944948e4df46ba36ba953",
  "environmentId" : "12w33e918d49430fbf1d8cc7494d22e3"
}HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 338
[ {
  "authData" : {
    "APPLICATION_CREDENTIAL_ID" : "c421d6bbdcc94c2db8a196468c93f9e4",
    "resourceId" : "resourceId",
    "SCHEMA_REGISTRY_API_KEY" : "schema-registry-api-key",
    "SCHEMA_REGISTRY_API_SECRET" : "schema-registry-secret",
    "CLUSTER_API_KEY" : "cluster-api-key",
    "CLUSTER_API_SECRET" : "cluster-secret"
  }
} ]Create Credential on Apache Kafka
A POST request will create a credential on Apache Kafka provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Environment. | Must not be null | 
HTTP request
POST /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 114
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "8180e2f2493944948e4df46ba36ba953",
  "environmentId" : "23d34r918d49430fbf1d8cc7494d22e3"
}HTTP response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 146
[ {
  "authData" : {
    "password" : "PasswordForApacheKafka",
    "provider" : "apache-kafka",
    "username" : "UserNameForApacheKafka"
  }
} ]Delete User on any Providers
Aiven Provider
A DELETE request will delete a user on Aiven provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Environment. | Must not be null | 
| configs | Object | Optional parameters that are provider specific.  | 
HTTP request
DELETE /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 207
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "8180e2f2493944948e4df46ba36ba953",
  "environmentId" : "84d93e918d49430fbf1d8cc7494d24d4",
  "applicationCredentialId" : null,
  "configs" : {
    "username" : "tenantbyok-app-1"
  }
}HTTP response
HTTP/1.1 204 No ContentConfluent Cloud provider
A DELETE request will delete a user on ConfluentCloud provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Application. | Must not be null | 
| configs | Object | Optional parameters that are provider specific.  | 
HTTP request
DELETE /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 249
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "1a38e26ef9e140439ea41235127e6fd5",
  "environmentId" : "48c53e918d49430fbf1d8cc7494d24d4",
  "applicationCredentialId" : null,
  "configs" : {
    "srApiKey" : "QXVKSM5M773JD7MV",
    "clusterApiKey" : "65PHUTPE4B6PXHIN"
  }
}HTTP response
HTTP/1.1 204 No ContentApache Kafka provider
A DELETE request will delete a credential on Apache Kafka provider.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| applicationId | String | The applicationId of the Application. | Must not be null | 
| environmentId | String | The environmentId of the Environment. | Must not be null | 
| configs | Object | Optional parameters that are provider specific.  | 
HTTP request
DELETE /application_authentications HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 207
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "8180e2f2493944948e4df46ba36ba953",
  "environmentId" : "84d93e918d49430fbf1d8cc7494d24d4",
  "applicationCredentialId" : null,
  "configs" : {
    "username" : "tenantbyok-app-1"
  }
}HTTP response
HTTP/1.1 204 No ContentApplicationCredentials
An ApplicationCredential is an additional authentication mechanism to the platform which
authenticates an Application on an Environment.
The /application_credentials resource is used to create and list application credentials.
ApplicationCredentials Schema
The /application_credentials resource uses the following json-schema:
HTTP request
GET /profile/application_credentials HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1930
{
  "title" : "Application credential",
  "properties" : {
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "metadata" : {
      "title" : "Metadata",
      "readOnly" : false,
      "type" : "object"
    },
    "environment" : {
      "title" : "Environment",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "types" : {
      "title" : "Types",
      "readOnly" : false,
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/applicationCredentialTypes"
      }
    },
    "application" : {
      "title" : "Application",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "tenant" : {
      "title" : "Tenant",
      "readOnly" : true,
      "type" : "object"
    },
    "username" : {
      "title" : "Username",
      "readOnly" : false,
      "type" : "string"
    }
  },
  "definitions" : {
    "applicationCredentialTypes" : {
      "type" : "object",
      "properties" : {
        "type" : {
          "title" : "Type",
          "readOnly" : false,
          "type" : "string",
          "enum" : [ "SCRAM_SHA_256", "SCRAM_SHA_512", "PLAIN" ]
        }
      }
    }
  },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all application credentials
HTTP method GET is disabled for /application_credentials. Refer to search endpoints to find one
or more ApplicationCredential for an Application or an Environment.
Create Application Credential
A POST request is used to create a new ApplicationCredential. The request should include reference to
a valid existing application and environment.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| application | String | A valid URI of an existing application | Must not be null | 
| environment | String | A valid URI of an existing environment | Must not be null | 
| types | Array | A valid type of application credentials. Possible types are  | Must not be empty. Must not be null | 
| description | String | A valid description about the application credentials | Size must be between 0 and 200 inclusive | 
Curl request
$ curl 'http://api.example.com/application_credentials' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "types" : [ "SCRAM_SHA_256" ],
  "description" : "test"
}'HTTP request
POST /application_credentials HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 241
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "types" : [ "SCRAM_SHA_256" ],
  "description" : "test"
}HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 163
{
  "uid" : "5d07dbcf11a74b1cba5f38f577ad6319",
  "username" : "tenanta_app3tenantaenv1-1627013667",
  "password" : "LLvToAAedD",
  "types" : [ "SCRAM_SHA_256" ]
}Retrieve application credential endpoints
The application_credentials/{id} resource is used to retrieve a single credential of an application
for an environment.
A GET request will retrieve the details of a ApplicationCredential.
Curl request
$ curl 'http://api.example.com/application_credentials/1e9ee6ce053c46b0932358c7403a56fd' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /application_credentials/1e9ee6ce053c46b0932358c7403a56fd HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 12425
{
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl\noQ6fJ2YLEhT+GM9xHKJ+DQCxvjWvtGUSb/Dk0j/R9mpSFfHvVJgE/xV+7F7Vlyw5\n/cDpF3GZOTGQ/MFy4RqRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}The application_credentials/ resource is used to retrieve a all  Application credentials
for  given Application and Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid Application Id | 
| 
 | A valid Environment Id | 
| 
 | A valid type of application credentials. Possible types are  | 
GET /application_credentials/search/findByApplicationIdAndEnvironmentId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&environmentId=047ab08009fe4da8be6905b55552ab52&type=SCRAM_SHA_256 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 24820
[ {
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl\noQ6fJ2YLEhT+GM9xHKJ+DQCxvjWvtGUSb/Dk0j/R9mpSFfHvVJgE/xV+7F7Vlyw5\n/cDpF3GZOTGQ/MFy4RqRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}, {
  "id" : "2f8ff6de053c46b0932358c7403a57ge",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxk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8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv2 - 1336640583",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "2f8ff6de053c46b0932358c7403a57ge",
  "created_at" : "2021-08-05T13:16:00",
  "modified_at" : "2021-08-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
} ]ApplicationCredentials search endpoints
/application_credentials/search/findByApplicationId
Returns all application credentials for given Application and  SASL mechanism/type.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | A valid Application Id | 
| 
 | A valid type of application credentials. Possible types are  | 
Curl request
$ curl 'http://api.example.com/application_credentials/search/findByApplicationId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&type=SCRAM_SHA_256' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /application_credentials/search/findByApplicationId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&type=SCRAM_SHA_256 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 24820
[ {
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJ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yTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}, {
  "id" : "2f8ff6de053c46b0932358c7403a57ge",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl\noQ6fJ2YLEhT+GM9xHKJ+DQCxvjWvtGUSb/Dk0j/R9mpSFfHvVJgE/xV+7F7Vlyw5\n/cDpF3GZOTGQ/MFy4RqRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv2 - 1336640583",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "2f8ff6de053c46b0932358c7403a57ge",
  "created_at" : "2021-08-05T13:16:00",
  "modified_at" : "2021-08-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
} ]SASL mechanism/type is an optional field.
Curl request
$ curl 'http://api.example.com/application_credentials/search/findByApplicationId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 24820
[ {
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\n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PDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}, {
  "id" : "2f8ff6de053c46b0932358c7403a57ge",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3th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KsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv2 - 1336640583",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "2f8ff6de053c46b0932358c7403a57ge",
  "created_at" : "2021-08-05T13:16:00",
  "modified_at" : "2021-08-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
} ]/application_credentials/search/findByApplicationIdAndEnvironmentId
Returns all application credentials for given Application, Environment and  SASL mechanism/type.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | A valid Application Id | 
| 
 | A valid Environment Id | 
| 
 | A valid type of application credentials. Possible types are  | 
Curl request
$ curl 'http://api.example.com/application_credentials/search/findByApplicationIdAndEnvironmentId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&environmentId=047ab08009fe4da8be6905b55552ab52&type=SCRAM_SHA_256' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /application_credentials/search/findByApplicationIdAndEnvironmentId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&environmentId=047ab08009fe4da8be6905b55552ab52&type=SCRAM_SHA_256 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 24820
[ {
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxg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RhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}, {
  "id" : "2f8ff6de053c46b0932358c7403a57ge",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl\noQ6fJ2YLEhT+GM9xHKJ+DQCxvjWvtGUSb/Dk0j/R9mpSFfHvVJgE/xV+7F7Vlyw5\n/cDpF3GZOTGQ/MFy4RqRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv2 - 1336640583",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "2f8ff6de053c46b0932358c7403a57ge",
  "created_at" : "2021-08-05T13:16:00",
  "modified_at" : "2021-08-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
} ]SASL mechanism/type is an optional field
Curl request
$ curl 'http://api.example.com/application_credentials/search/findByApplicationIdAndEnvironmentId?applicationId=5ffc4240fcdf4a479a16f2b0b12ab909&environmentId=047ab08009fe4da8be6905b55552ab52' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 24820
[ {
  "id" : "1e9ee6ce053c46b0932358c7403a56fd",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMD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q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv1 - 1336640963",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  }, {
    "type" : "SCRAM_SHA_512"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2021-09-05T13:16:00",
  "modified_at" : "2021-09-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
}, {
  "id" : "2f8ff6de053c46b0932358c7403a57ge",
  "optLock" : 0,
  "metadata" : { },
  "application" : {
    "id" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "optLock" : 0,
    "name" : "tenantaApplication1",
    "shortName" : "tenanta_app1",
    "description" : "tenantaApplication1 description.",
    "applicationType" : "Custom",
    "type" : "Java",
    "applicationClass" : null,
    "visibility" : "public",
    "owners" : {
      "id" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "optLock" : 0,
      "name" : "Application-tenAApplication1",
      "members" : [ {
        "id" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "optLock" : 0,
        "firstName" : "envAuthor",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envauthor@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_AUTHOR"
        } ],
        "fullName" : "envAuthor TenantA",
        "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "7cb463240b8049578b298c214c28512a",
        "optLock" : 0,
        "firstName" : "envAdmin",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "envAdmin TenantA",
        "uid" : "7cb463240b8049578b298c214c28512a",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "51234a7a81994d1ca35ca7894cde08c6",
        "optLock" : 0,
        "firstName" : "appOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "appowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "appOwner TenantA",
        "uid" : "51234a7a81994d1ca35ca7894cde08c6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
    "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null,
    "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
  },
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyz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V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "autoApproved" : false,
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "username" : "tenanta_app1tenantaenv2 - 1336640583",
  "types" : [ {
    "type" : "SCRAM_SHA_256"
  } ],
  "description" : "test_application_credential",
  "tenant" : {
    "id" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "optLock" : 0,
    "properties" : {
      "replication.factor" : "1",
      "cleanup.policy" : "delete",
      "min.insync.replicas" : "1"
    },
    "name" : "TenantA",
    "shortName" : "tenanta",
    "uniqueConsumerGroup" : true,
    "logo" : "tenanta.png",
    "issuerUrl" : "http://api.example.com/auth/realms/tenanta",
    "dataClassificationEnabled" : false,
    "contact" : null,
    "supportedAuthenticationMethods" : [ {
      "rank" : 1,
      "protocol" : "SASL",
      "mechanism" : "SCRAM_SHA_256"
    }, {
      "rank" : 0,
      "protocol" : "SSL",
      "mechanism" : "MUTUAL_TLS"
    }, {
      "rank" : 2,
      "protocol" : "SASL",
      "mechanism" : "OAUTH_BEARER"
    } ],
    "wizardCompleted" : true,
    "customerId" : null,
    "uid" : "55ef719629a94a07b9bf8ac0f3c495e5",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "uid" : "2f8ff6de053c46b0932358c7403a57ge",
  "created_at" : "2021-08-05T13:16:00",
  "modified_at" : "2021-08-06T13:16:00",
  "created_by" : null,
  "modified_by" : null
} ]Delete application credential
A DELETE request is used to delete an ApplicationCredential.
Curl request
$ curl 'http://api.example.com/application_credentials/07c3a0060ef111ec82a80242ac130003' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /application_credentials/07c3a0060ef111ec82a80242ac130003 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersApplicationPrincipals
An ApplicationPrincipal is a security principal (certificate or comparable) that uniquely authenticates an Application on an Environment.
The /application_principals resource is used to create and list application principals.
ApplicationPrincipals Schema
The /application_principals resource uses the following json-schema:
GET /profile/application_principals HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1736
{
  "title" : "Application principal",
  "properties" : {
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "privateKeyUploaded" : {
      "title" : "Private key uploaded",
      "readOnly" : true,
      "type" : "boolean"
    },
    "applicationPem" : {
      "title" : "Application pem",
      "readOnly" : false,
      "type" : "string"
    },
    "principal" : {
      "title" : "Principal",
      "readOnly" : false,
      "type" : "string"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "environment" : {
      "title" : "Environment",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "principalChain" : {
      "title" : "Principal chain",
      "readOnly" : false,
      "type" : "string"
    },
    "application" : {
      "title" : "Application",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "privateKeyPem" : {
      "title" : "Private key pem",
      "readOnly" : true,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "expiresOn" : {
      "title" : "Expires on",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all application principals
HTTP method GET is disabled for /application_principals.
Refer to search endpoints to find one or more ApplicationPrincipal for an Application or an Environment.
Create Application Principal
A POST request is used to create a new ApplicationPrincipal.
The request should include reference to a valid existing application and environment.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| [].principal | String | The principal of an Application for an Environment | |
| [].application | String | A valid URI of an existing application | |
| [].environment | String | A valid URI of an existing environment | 
Curl request
$ curl 'http://api.example.com/application_principals' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMAkGA1UdEwQCMAAwHQYD\nVR0OBBYEFLjtlM29zjwQ7SR5I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c8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
} ]'HTTP request
POST /application_principals HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 5680
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nS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T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
} ]HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 80
"http://api.example.com/application_principals/7faa387b63354280a16651371d7f8ea2"Create Application Principal with Private key
A POST request is used to create a new ApplicationPrincipal with a private key.
This is used for connector type of applications.
The request should include reference to a valid existing application and environment.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| [].principal | String | The principal of an Application for an Environment | |
| [].privateKey | String | The private key of an Application for an Environment | |
| [].application | String | A valid URI of an existing application | |
| [].environment | String | A valid URI of an existing environment | 
Curl request
$ curl 'http://api.example.com/application_principals' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMAkGA1UdEwQCMAAwHQYD\nVR0OBBYEFLjtlM29zjwQ7SR5IbR3CARf+ENiMEkGA1UdIwRCMECAFGvSKVeLUjYs\nBQrGV7kadHisEx9moSSkIjAgMR4wHAYDVQQDDBVBeHVhbCBEdW1teSBSb290IDIw\nMTiCAhAAMAsGA1UdDwQEA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rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/dbc9e4670h1c4866deg78722e2930d2g",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "privateKey" : "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCjwMgtTosVcSk3\nYNwPt/2FoAyr112UNgOiYMzs8CTtTBgZS7JylfXXP2xJ1s7lrRY1z+o3ZmL+0+ft\nxitih3qewsb418FIxg1qS9ztq3xibabYjeTmSVAzdgdJNR/5r07cZ/PpDZdnoa8c\nh/reiYQfxwEP1+T0EuYMqBAfBw1/2a9Zrix7042xjWUaz9H6ruGYYtltvKvaVZKt\nenQYop+jG1L+a/RnSVy6/GAakHcccxjql6AG6E45XAK/UdRRMA5GhibA64UPR87q\n8CbAZS7I/AJInFwNcYljCekr3nfIlgzVQAX8Ep7l8UxncJ7vlHTp95BpliKWntdA\n3hhgElZnAgMBAAECggEAT/x+ywKulU6tH0vEsjjhMUA4cEfGgfrQU6SM9L9oijC9\nJL4A8E+nwfhM4NR4Q2AElUx1z5HHkUnY5CAEWSBsGNhzcGGTHAUB0IY16DH3k+yT\nrvvAb2woLLreXDgC4mdrUeXFEnV9GzWy33DcbY8mZo9CSYbfYwlILa56EW3UfjoB\nYR4G4sNYEuz/BlIS3UaMzAM/a8S/TTQmv1rqck0UAXhCpVK3RBD5nwkGJQEdF159\n3Fe0Cpzoj0S11oak97OvGEhzcrn0Cib5A8IQt763LL0cIXdBF5U/2FOrYz6Dobao\nYTO93TLirNFuefFe/xl2sBDUIAMqVIZWviKl0AYDIQKBgQDkZcsB3BacZNHeTkNF\na8txFIAOJfXf/jsriVMx3s7rmrSsC1J7MJwdAau3EU4UpwBXvmRh7PRHNi4M+d+B\nVCltVlbMytcP9EQbG4wznvo118vXUduYR2dHnx99eLxEP1r6FPd7Ng94vXOHgJGf\nyzR8AE6f3ZV71BQuKmemo2enAwKBgQC3iwDiIgHi0rCSMTTcRwg1inFu3/lgdd+0\njl9Jipm4+HgFTTLmNNn8lLtMgrlEaw402cErmAKnDAexjAY1cddDmPUSSF+z/juw\nJEMP7+/b9yK51W0o3W/CaI/VPKKDodfcmLaWmf2l665lhMPdAdL8pKI4ey66NguD\nmBEjgUQzzQKBgQDGY10IyoGhazmYneZ1AIMAQExS/coqvIvs7yWipeSaZhEVd+g3\nNSwFThQ3ugJWkhEMJkbPgKFW0csCXnEzx0UMwfg3fuF77DLUUQNhO3AfIMjgySuz\nhCJD5gXWWO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----"
} ]'HTTP request
POST /application_principals HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 7431
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "principal" : "-----BE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A2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/dbc9e4670h1c4866deg78722e2930d2g",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "privateKey" : "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCjwMgtTosVcSk3\nYNwPt/2FoAyr112UNgOiYMzs8CTtTBgZS7JylfXXP2xJ1s7lrRY1z+o3ZmL+0+ft\nxitih3qewsb418FIxg1qS9ztq3xibabYjeTmSVAzdgdJNR/5r07cZ/PpDZdnoa8c\nh/reiYQfxwEP1+T0EuYMqBAfBw1/2a9Zrix7042xjWUaz9H6ruGYYtltvKvaVZKt\nenQYop+jG1L+a/RnSVy6/GAakHcccxjql6AG6E45XAK/UdRRMA5GhibA64UPR87q\n8CbAZS7I/AJInFwNcYljCekr3nfIlgzVQAX8Ep7l8UxncJ7vlHTp95BpliKWntdA\n3hhgElZnAgMBAAECggEAT/x+ywKulU6tH0vEsjjhMUA4cEfGgfrQU6SM9L9oijC9\nJL4A8E+nwfhM4NR4Q2AElUx1z5HHkUnY5CAEWSBsGNhzcGGTHAUB0IY16DH3k+yT\nrvvAb2woLLreXDgC4mdrUeXFEnV9GzWy33DcbY8mZo9CSYbfYwlILa56EW3UfjoB\nYR4G4sNYEuz/BlIS3UaMzAM/a8S/TTQmv1rqck0UAXhCpVK3RBD5nwkGJQEdF159\n3Fe0Cpzoj0S11oak97OvGEhzcrn0Cib5A8IQt763LL0cIXdBF5U/2FOrYz6Dobao\nYTO93TLirNFuefFe/xl2sBDUIAMqVIZWviKl0AYDIQKBgQDkZcsB3BacZNHeTkNF\na8txFIAOJfXf/jsriVMx3s7rmrSsC1J7MJwdAau3EU4UpwBXvmRh7PRHNi4M+d+B\nVCltVlbMytcP9EQbG4wznvo118vXUduYR2dHnx99eLxEP1r6FPd7Ng94vXOHgJGf\nyzR8AE6f3ZV71BQuKmemo2enAwKBgQC3iwDiIgHi0rCSMTTcRwg1inFu3/lgdd+0\njl9Jipm4+HgFTTLmNNn8lLtMgrlEaw402cErmAKnDAexjAY1cddDmPUSSF+z/juw\nJEMP7+/b9yK51W0o3W/CaI/VPKKDodfcmLaWmf2l665lhMPdAdL8pKI4ey66NguD\nmBEjgUQzzQKBgQDGY10IyoGhazmYneZ1AIMAQExS/coqvIvs7yWipeSaZhEVd+g3\nNSwFThQ3ugJWkhEMJkbPgKFW0csCXnEzx0UMwfg3fuF77DLUUQNhO3AfIMjgySuz\nhCJD5gXWWO8/YMDHhTrKfVTHDdiyFI1pfXqjUyj4V+KmYrr8try91CYOvQKBgGsT\nS8OgpUsHMP1IeZccVVyu1Hgjb99nRMeX210S35U6VwJ4w/3qzVT+C7qZ9K1GazZH\n5tqgxsNfUEmy75hUPonv/ODamgJuibG7pefxSRQhO///07voWx+mUmrLAeAbFcxa\nxwJa+c/HC6mr53vSaZz8Cqs6qcr2ZocxuqXk7r3tAoGAD4NVneZfYLA/TEeG55oe\nHB+XOWAINyRqSnrZwHSXLyed9ARoUZIUv33eXe+1X8cbXiN4174ZpJYzYU+B5jNs\nd247aGQH5Ek9fZZ9QD+NWBE3s6WknEtgQwhK9q0XyYAcYMY37QBtEf32YqRrmesy\nQ1MwtHCuZQxed725uF3QZV4=\n-----END PRIVATE KEY-----"
} ]HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 80
"http://api.example.com/application_principals/053e581574344c029dcf50ba2601d9f5"Create Multiple Application Principals
A POST request is used to create multiple ApplicationPrincipal.
The request should include references to a valid existing application and environment.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| [].principal | String | The principal of an Application for an Environment | |
| [].application | String | A valid URI of an existing application | |
| [].environment | String | A valid URI of an existing environment | 
Curl request
$ curl 'http://api.example.com/application_principals' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp7XQN4YYBJWZwIDAQABo4GkMIGhMAkGA1UdEwQCMAAwHQYD\nVR0OBBYEFLjtlM29zjwQ7SR5IbR3CARf+ENiMEkGA1UdIwRCMECAFGvSKVeLUjYs\nBQrGV7kadHisEx9moSSkIjAgMR4wHAYDVQQDDBVBeHVhbCBEdW1teSBSb290IDIw\nMTiCAhAAMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBgg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vZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}, {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEqjCCApKgAwIBAgIRALTsEWUyE0XWR2K9lUXS0KIwDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzQ2WhcNMjUwMzMxMTIzMzQ2WjBPMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEZMBcGA1UEAwwQRXhh\nbXBsZSBDb25zdW1lcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYY\nGI57voNaczjiMrIML7kgmU8yMbs4qS8181TNAfklW+hIRM5WijveoSMHUlvuV1BG\npHrynHTmKCm/Scf2P/xZJxkpdwvrd5DA09HEr3C6uXlE8uRdUNhANfra0SWt8T3J\n+0EeRGNerLzVfIJ99jJoNeDknTzOSUXyRsqw7GUtw24P2VSoiN/U0eE/m/LTQ7Tw\nuQyNtBg1h0dEgVPgeVoGt1kBsR+U3+l9cYYdWvbzqi6H8qoHTP9yqOkiiugFXrZ2\n5e3TKk9gvj4vGIurXVY68D3frV46JNNy1GLGVjp+X7p6jjAsvj4o0jCUZ8qfQLrV\n5qdTu5WEHk+tXgUUqrsCAwEAAaOBpDCBoTAJBgNVHRMEAjAAMB0GA1UdDgQWBBRn\nxahN4NjId1+1tDSnU10FldMgyjBJBgNVH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mzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}, {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEqjCCApKgAwIBAgIRAIdrfcr8YRHHGGrz1XqzMqMwDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUwWhcNMjUwMzMxMTIzMzUwWjBPMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEZMBcGA1UEAwwQRXhh\nbXBsZSBQcm9kdWNlcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJj\naszl/8PW/CWTIZINpKDd2FNfq72HdnXxGZ/1UPW9fW3cYsJm6RC2TgT3g5zpWudO\nE+6o3u7YDd1X23pTG5mimWPQQ3g2OpjvhANjecBu1MyNCJFLpujblQXD6ziaD3OG\neqhC+4JjJB2tw64esDOfrdbJPfsuh4CAAoM/6cU2u4ktCijJOf1EbWOoSVRXj+JX\nE4AqNKTKRKriYOrtgvYmkx9J5thwLy2qicZC+O5h4T9sXSEZfsnuN1PXWHb71Lcw\nHw704lBJDt3wc/ZKnyBzQ5dM3vtDzq+o/J4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hK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
} ]'HTTP request
POST /application_principals HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 17016
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6L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/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}, {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEqjCCApKgAwIBAgIRALTsEWUyE0XWR2K9lUXS0KIwDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzQ2WhcNMjUwMzMxMTIzMzQ2WjBPMQswCQYDVQQGEwJOTDEQM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zBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}, {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIEqjCCApKgAwIBAgIRAIdrfcr8YRHHGGrz1XqzMqMwDQYJKoZIhvcNAQELBQAw\nKz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qRrTtjnZw2/bZZyJ+Xb743OeQhABFUdadh8cmyehDregtr\nalHxtjKxCxrT55OHCYhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
} ]HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 238
"http://api.example.com/application_principals/656ace79aca64102ab73b99e9ba8a700,http://api.example.com/application_principals/9dc23ab679984a9b91bdbf752ee69781,http://api.example.com/application_principals/fc6b45e0a0fc429998791c64504530d2"Create Application Principal that is already present
In case the ApplicationPrincipal is already present in the Self-Service with the exact same Principal and Expiry-Date, we return a 400 Bad Request to prevent saving the same principal again.
HTTP request
POST /application_principals HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 3964
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIFLTCCAxWgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UEAwwVQXh1\nYWwgRHVtbXkgUm9vdCAyMDE4MB4XDTE4MDUyOTExMDEzNFoXDTI4MDUyNjExMDEz\nNFowKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9uOuzJekmeo3hl8fjQlKS\nHApS3llcliq1YrXpkMbHAA9StHaMHPW+Dzr2/+cdfBAmN3sujCY8Paq15QI+TDOq\nKA5SByCBQKXx2qulBPcZs3mDMt+KxAaeWfwR4Nj0NNKbmw2HjDddo77joeVOuOX2\n4o1wXzmAAolVMIcRYA11EMWNUtYrHCzBa7RfYht2G5dE69ckrgfw1Nxs01Sbg+xP\nsK9aK/LHPUalYZNY+76x7vabEpzaPfpyKzDTWA20SPk0WfTf9/+K3o+urzDG8O/q\nw9xbBOzWohGmRyA/z841p1SD7inpZcyO/KeW1yTP2WyFxADwUrv2mEYXnma/Gdna\nG62I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YhbCoz6nEnQURD7EPQhU5puUKalRq2ApDkveIk8uj0HQmQm\nKyRuNX7M6vCoWnpxAgMBAAGjYzBhMB0GA1UdDgQWBBR0o48OpIVDoF+TQj9qwGQH\nK3mCxTAfBgNVHSMEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "application" : "http://api.example.com/applications/5ffc4240fcdf4a479a16f2b0b12ab909",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
} ]HTTP response
HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 182
{
  "status" : "BAD_REQUEST",
  "message" : "A PEM already exists with the uploaded Principal and Expiry-Date.",
  "errors" : [ "errmsg.duplicate.principal" ],
  "subErrors" : null
}Create a custom Application Principal to store a clientID
A POST request is used to create a custom ApplicationPrincipal without using a pem file.
This type of certificate is used to authenticate your application with an IAM provider using the custom ApplicationPrincipal as Client ID.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| [].principal | String | The custom principal of an Application for an Environment | |
| [].application | String | A valid URI of an existing application | |
| [].environment | String | A valid URI of an existing environment | |
| [].custom | Boolean | A boolean identifying if we are creating a custom principal | 
Curl request
$ curl 'http://api.example.com/application_principals' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '[ {
  "principal" : "a-custom-principal-identifying-a-clientID",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "custom" : true
} ]'HTTP request
POST /application_principals HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 266
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
[ {
  "principal" : "a-custom-principal-identifying-a-clientID",
  "application" : "http://api.example.com/applications/39d82d7f34484b53ae1dd47ee8924512",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "custom" : true
} ]HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 80
"http://api.example.com/application_principals/859207f981364777bc3211878de5a6f9"Retrieve application principal
The application_principals/{id} resource is used to retrieve a single principal of an application for an environment.
A GET request will retrieve the details of a ApplicationPrincipal.
HTTP request
GET /application_principals/1e9ee6ce053c46b0932358c8503a26fd HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 2785
{
  "principal" : "principal 1 test",
  "applicationPem" : "principal 1 test",
  "principalChain" : null,
  "privateKeyPem" : null,
  "expiresOn" : null,
  "uid" : "1e9ee6ce053c46b0932358c8503a26fd",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "privateKeyUploaded" : false,
  "_embedded" : {
    "application" : {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "applicationPrincipal" : {
      "href" : "...",
      "title" : "A principal for application"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can delete this ApplicationPrincipal | 
Update application principal
A PATCH request is used to update a ApplicationPrincipal.
Only principal field can be modified.
If application, environment or privateKey needs to be updated, delete the ApplicationPrincipal and create a new one.
Curl request
$ curl 'http://api.example.com/application_principals/1e9ee6ce053c46b0932358c8503a26fd' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL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urE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----\n"
}'HTTP request
PATCH /application_principals/1e9ee6ce053c46b0932358c8503a26fd HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 1898
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "principal" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScb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LaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----\n"
}HTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersUpdate a custom application principal
A PATCH request is used to update a custom ApplicationPrincipal.
Only principal field can be modified.
If application or environment needs to be updated, delete the ApplicationPrincipal and create a new one.
Curl request
$ curl 'http://api.example.com/application_principals/c58du2867d8e43668271761e23659ef8' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "principal" : "updated-custom-principal"
}'HTTP request
PATCH /application_principals/c58du2867d8e43668271761e23659ef8 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 46
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "principal" : "updated-custom-principal"
}HTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersDelete application principal
A DELETE request is used to delete an ApplicationPrincipal.
$ curl 'http://api.example.com/application_principals/1e9ee6ce053c46b0932358c8503a26fd' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /application_principals/1e9ee6ce053c46b0932358c8503a26fd HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersValidate application principal
Validates the provided application_principal pem’s content for validity.
POST /application_principals/validate HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 5590
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "contents" : "-----BEGIN CERTIFICATE-----\nMIIEsjCCApqgAwIBAgIRANlGfD2h/5K+2AqXk+2/GmswDQYJKoZIhvcNAQELBQAw\nKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcN\nMjAwNDAxMTIzMzUzWhcNMjUwMzMxMTIzMzUzWjBXMQswCQYDVQQGEwJOTDEQMA4G\nA1UEBwwHVXRyZWNodDETMBEGA1UECgwKQXh1YWwgQi5WLjEhMB8GA1UEAwwYRXhh\nbXBsZSBTdHJlYW0gUHJvY2Vzc29yMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAo8DILU6LFXEpN2DcD7f9haAMq9ddlDYDomDM7PAk7UwYGUuycpX11z9s\nSdbO5a0WNc/qN2Zi/tPn7cYrYod6nsLG+NfBSMYNakvc7at8Ym2m2I3k5klQM3YH\nSTUf+a9O3Gfz6Q2XZ6GvHIf63omEH8cBD9fk9BLmDKgQHwcNf9mvWa4se9ONsY1l\nGs/R+q7hmGLZbbyr2lWSrXp0GKKfoxtS/mv0Z0lcuvxgGpB3HHMY6pegBuhOOVwC\nv1HUUTAORoYmwOuFD0fO6vAmwGUuyPwCSJxcDXGJYwnpK953yJYM1UAF/BKe5fFM\nZ3Ce75R06feQaZYilp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0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
  "environment" : "https://api.example.com/api/environments/047ab08009fe4da8be6905b55552ab52"
}HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersValidate application principal’s Private Key
Validates the provided application_principal’s private key.
POST /application_principals/validate_private_key HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 7255
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "certificate" : "-----BEGIN CERTIFICATE-----\nMIIFhjCCA26gAwIBAgICECwwDQYJKoZIhvcNAQELBQAwKzEpMCcGA1UEAwwgQXh1\nYWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEwHhcNMTkwNjEzMTQwNTMyWhcN\nMjExMTI5MTQwNTMyWjBjMQswCQYDVQQGEwJOTDEQMA4GA1UECAwHVXRyZWNodDEQ\nMA4GA1UEBwwHVXRyZWNodDEOMAwGA1UECgwFQXh1YWwxDjAMBgNVBAsMBUF4dWFs\nMRAwDgYDVQQDDAd0ZXN0IENOMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKC\nAgEAnZaQX6aDGnNsua3DNlV/RI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muqpaID6vXpAbmjU5BGEoOzxK9cIS0AMsL\npY5QzwQb+y9S35qpkaXsgndlyvdMBq58e5NN+Z8WEULuO85CW3rD6e1rWlXx6M3Y\nLFSKJQUjQ63FQJ+LX8nHylDkV/9T/sCFiYa1zv3AW2c7rz8eqXP9MabptpMqRfwZ\nUVlECszO2xb3zwg7WEnZu+DBNKsTIrKT8w/h3KvvWRbORpDOYcjW64V2NnjBP6Pc\nCUE2QsYVDOG/UDXjNanf3DnMCVVMJn06p+HQCDlATFnScu1qo++A7Dj4HTWmDtiU\nDsbI3yNePnNb5x1AZjii68cy9pLG\n-----END PRIVATE KEY-----"
}HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersApplicationPrincipals search endpoints
/application_principals/search/findByApplication
Returns all application principals for given Application.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Application | 
GET /application_principals/search/findByApplication?application=http%3A%2F%2Flocalhost%2Fapplications%2F5ffc4240fcdf4a479a16f2b0b12ab909 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 10399
{
  "_embedded" : {
    "application_principals" : [ {
      "principal" : "CN=Axual Dummy Intermediate 2018 01",
      "applicationPem" : "-----BEGIN CERTIFICATE-----\nMIIFLTCCAxWgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UEAwwVQXh1\nYWwgRHVtbXkgUm9vdCAyMDE4MB4XDTE4MDUyOTExMDEzNFoXDTI4MDUyNjExMDEz\nNFowKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9uOuzJekmeo3hl8fjQlKS\nHApS3llcliq1YrXpkMbHAA9StHaMHPW+Dzr2/+cdfBAm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4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
      "principalChain" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01",
      "privateKeyPem" : null,
      "expiresOn" : "2028-05-26T11:01:34",
      "uid" : "0572812fdc82413999e928fba1194d21",
      "created_at" : "2022-07-24T23:16:23",
      "modified_at" : "2022-07-24T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "privateKeyUploaded" : false,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationPrincipal" : {
          "href" : "...",
          "title" : "A principal for application"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "principal" : "principal 1 test",
      "applicationPem" : "principal 1 test",
      "principalChain" : null,
      "privateKeyPem" : null,
      "expiresOn" : null,
      "uid" : "1e9ee6ce053c46b0932358c8503a26fd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "privateKeyUploaded" : false,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationPrincipal" : {
          "href" : "...",
          "title" : "A principal for application"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_principals/search/findByEnvironment
Returns all application principals for given Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Environment | 
GET /application_principals/search/findByEnvironment?environment=http%3A%2F%2Flocalhost%2Fenvironments%2F46cfaf47d2d04d12923beefac3d0ba5a HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 3382
{
  "_embedded" : {
    "application_principals" : [ {
      "principal" : "CN=tenantaapp3,D=tenanta,S=utrecht,C=NL",
      "applicationPem" : "CN=tenantaapp3,D=tenanta,S=utrecht,C=NL",
      "principalChain" : null,
      "privateKeyPem" : null,
      "expiresOn" : null,
      "uid" : "177d7b6b14594e8d8e51186eff59408b",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "privateKeyUploaded" : false,
      "_embedded" : {
        "application" : {
          "name" : "tenantaAutoApplication3",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_auto_app3",
          "owners" : {
            "name" : "Team App Admins",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4oit834841869644c2ad8b439997",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "4cc380171afc4c898b6f6c02caccf451",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaprivenv1",
          "shortName" : "tenantaprivenv1",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "46cfaf47d2d04d12923beefac3d0ba5a",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationPrincipal" : {
          "href" : "...",
          "title" : "A principal for application"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_principals/search/findByApplicationAndEnvironment
Returns application principals for given Application and Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Application | 
| 
 | A valid URI of an existing Environment | 
GET /application_principals/search/findByApplicationAndEnvironment?application=http%3A%2F%2Flocalhost%2Fapplications%2F5ffc4240fcdf4a479a16f2b0b12ab909&environment=http%3A%2F%2Flocalhost%2Fenvironments%2F047ab08009fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 10399
{
  "_embedded" : {
    "application_principals" : [ {
      "principal" : "CN=Axual Dummy Intermediate 2018 01",
      "applicationPem" : "-----BEGIN CERTIFICATE-----\nMIIFLTCCAxWgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UEAwwVQXh1\nYWwgRHVtbXkgUm9vdCAyMDE4MB4XDTE4MDUyOTExMDEzNFoXDTI4MDUyNjExMDEz\nNFowKzEpMCcGA1UEAwwgQXh1YWwgRHVtbXkgSW50ZXJtZWRpYXRlIDIwMTggMDEw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9uOuzJekmeo3hl8fjQlKS\nHApS3llcliq1YrXpkMbHAA9StHaMHPW+Dzr2/+cdfBAmN3sujCY8Paq15QI+TDOq\nKA5SByCBQKXx2qulBPcZs3mDMt+KxAaeWfwR4Nj0NNKbmw2HjDddo77joeVOuOX2\n4o1wXzmAAolVMIcRYA11EMWNUtYrHCzBa7RfYht2G5dE69ckrgfw1Nxs01Sbg+xP\nsK9aK/LHPUalYZNY+76x7vabEpzaPfpyKzDTWA20SPk0WfTf9/+K3o+urzDG8O/q\nw9xbBOzWohGmRyA/z841p1SD7inpZcyO/KeW1yTP2WyFxADwUrv2mEYXnma/Gdna\nG62IQYk/UMex9W8pT6tfwrg/36sSwr88yPR5dJxzjHUE+w/rYG3k+K+EqvZ5qOC5\n32AJ9BS2nbNuGpmRU1qoMCwpL7B2E/CKJLIdFcf/qmcnWJEXo+u34+fQZg8XaDCI\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MEGDAWgBR0o48OpIVDoF+TQj9qwGQHK3mCxTAPBgNVHRMBAf8E\nBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAbJanqR4P\nmr05AyAu8vlrLsleXA8VAPDiaaYStYH5cIdBBWkaIxanLFDmbyQwKkKdkHQWV9X8\n1P52q49T9RsoBsEOmwdiaCY2PEUz7Y3bFW0UeM+k65VlHlXWywRM6+O02t4TrJXH\nF6h7vPon01OwhgW9Yil/Kr+yyZK50Ic+pm4UhHmtxY932cNaRCdae5tKsjabsP7Z\nrdAksLia8mTp+HADkZJ1uODxyDh0S1WMKB5JoHYBrmtUr1NYLgRC6SinhK4r7rbi\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=\n-----END CERTIFICATE-----",
      "principalChain" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01",
      "privateKeyPem" : null,
      "expiresOn" : "2028-05-26T11:01:34",
      "uid" : "0572812fdc82413999e928fba1194d21",
      "created_at" : "2022-07-24T23:16:23",
      "modified_at" : "2022-07-24T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "privateKeyUploaded" : false,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationPrincipal" : {
          "href" : "...",
          "title" : "A principal for application"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "principal" : "principal 1 test",
      "applicationPem" : "principal 1 test",
      "principalChain" : null,
      "privateKeyPem" : null,
      "expiresOn" : null,
      "uid" : "1e9ee6ce053c46b0932358c8503a26fd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "privateKeyUploaded" : false,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationPrincipal" : {
          "href" : "...",
          "title" : "A principal for application"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}ApplicationAccess
An ApplicationAccess defines the access type held by an Application on a Stream. There
are two access types supported: PRODUCER and CONSUMER.
A PRODUCER access type indicates that the application will produce messages to the stream.
A CONSUMER access type indicates that the application will consume messages from the stream.
The /application_access resource is used to create and list ApplicationAccess.
An ApplicationAccess contains a collection of StreamAuthorization which describes the Environment
where the ApplicationAccess is active. These authorizations can be managed at
/application_access/uid/authorizations endpoint.
An Application can have multiple ApplicationAccess types (PRODUCER and CONSUMER) on a single Stream.
ApplicationAccess Schema
The /application_access resource uses the following json-schema:
GET /profile/application_access HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1280
{
  "title" : "Application access",
  "properties" : {
    "accessType" : {
      "title" : "Access type",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "PRODUCER", "CONSUMER" ]
    },
    "grants" : {
      "title" : "Grants",
      "readOnly" : true,
      "type" : "string",
      "format" : "uri"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "application" : {
      "title" : "Application",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "stream" : {
      "title" : "Stream",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all application access
HTTP method GET is disabled for /application_access. Refer to search endpoints to find one or more
ApplicationAccess for a Stream or an Application or both.
Create application access (Deprecated)
A POST request is used to create a new ApplicationAccess. The request should include reference to
a valid existing stream and application.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| accessType | String | The access type of the application. Can be PRODUCER or CONSUMER only. | Must not be null | 
| application | String | A valid URI of an existing  | Must not be null | 
| stream | String | A valid URI of an existing  | Must not be null | 
Curl request
$ curl 'http://api.example.com/application_access' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "accessType" : "PRODUCER",
  "application" : "http://api.example.com/applications/5ffc4240fcdf4a479a16f2b0b12ab909",
  "stream" : "http://api.example.com/streams/91105915be694c0d9dd2301ff54153f0"
}'HTTP request
POST /application_access HTTP/1.1
Content-Type: application/json;charset=UTF-8
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 201
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "accessType" : "PRODUCER",
  "application" : "http://api.example.com/applications/5ffc4240fcdf4a479a16f2b0b12ab909",
  "stream" : "http://api.example.com/streams/91105915be694c0d9dd2301ff54153f0"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:28:35 GMT
Location: http://api.example.com/application_access/1c5fb340170149c0bf1954ed52ea6e15
Content-Type: application/hal+json
Content-Length: 3482
{
  "accessType" : "PRODUCER",
  "uid" : "1c5fb340170149c0bf1954ed52ea6e15",
  "created_at" : "2023-10-09T09:28:35.641978139",
  "modified_at" : "2023-10-09T09:28:35.641978139",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "_embedded" : {
    "application" : {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "applicationAccess" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access declarations for streams of an application"
    },
    "createApplicationAccessGrant" : {
      "href" : "..."
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "grants" : {
      "href" : "...",
      "templated" : true
    }
  }
}Retrieve application access (Deprecated)
The application_access/{id} resource is used to retrieve a single access of an application.
A GET request will retrieve the details of a ApplicationAccess.
HTTP request
GET /application_access/fedb6478bfd640caa02f5e5893c62bf0 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 5978
{
  "accessType" : "PRODUCER",
  "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "application" : {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "grants" : [ {
      "comment" : null,
      "status" : "Pending",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv2",
        "shortName" : "tenantaenv2",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "e11ee2dd976647109ca904dd8adc050f",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "764c61795cc4438ca8ea5aca262c8e70",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "applicationAccess" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access declarations for streams of an application"
    },
    "createApplicationAccessGrant" : {
      "href" : "..."
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "grants" : {
      "href" : "...",
      "templated" : true
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | The  | 
| 
 | The  | 
| 
 | All  | 
| 
 | Link to indicate that the currently authenticated user can create application access requests | 
Update application access
HTTP method PATCH and PUT is disabled for /application_access. Once an application
access is created, it cannot be modified. Instead delete and create a new one.
ApplicationAccess search endpoints
/application_access/search/findByApplication (Deprecated)
Returns all application access for given Application, ordering the result by the Stream Name Ascending.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Application | 
GET /application_access/search/findByApplication?application=http%3A%2F%2Flocalhost%2Fapplications%2F5ffc4240fcdf4a479a16f2b0b12ab909 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 6972
{
  "_embedded" : {
    "application_access" : [ {
      "accessType" : "PRODUCER",
      "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Pending",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }, {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv2",
            "shortName" : "tenantaenv2",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "e11ee2dd976647109ca904dd8adc050f",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "764c61795cc4438ca8ea5aca262c8e70",
          "created_at" : "2018-09-09T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_access/search/findByStream (Deprecated)
Returns all application access for given Stream.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Stream | 
GET /application_access/search/findByStream?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 25483
{
  "_embedded" : {
    "application_access" : [ {
      "accessType" : "PRODUCER",
      "uid" : "d2150841af85449c96d9556a8e0c9290",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaAutoApplication4",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_auto_app4",
          "owners" : {
            "name" : "Team App Admins",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4oit834841869644c2ad8b439997",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "aec9e4570f1c4866bef77722e2830d4b",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "e3450841af85449c96d9556a8e0c9678",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication5",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app5",
          "owners" : {
            "name" : "Team App Admins",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4oit834841869644c2ad8b439997",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "fdc9e4570f1c4866bef77722e2830d5g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Rejected",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "dd24e0110f7b45ec98d62f6ff8136ae7",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Pending",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }, {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv2",
            "shortName" : "tenantaenv2",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "e11ee2dd976647109ca904dd8adc050f",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "764c61795cc4438ca8ea5aca262c8e70",
          "created_at" : "2018-09-09T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "CONSUMER",
      "uid" : "ojxg60zh4pt1i83pdio7fql0zdpw4q85",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication2",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app2",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication2 description.",
          "uid" : "39d82d7f34484b53ae1dd47ee8924502",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "CONSUMER",
      "uid" : "ojxg60zh4pt4203pdio7fql0zdpw4q85",
      "created_at" : "2020-11-01T23:16:23",
      "modified_at" : "2020-11-01T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "testRevoke",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "test_revoke",
          "owners" : {
            "name" : "Team Kad",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4e9a834841869644c2ad8b439553",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "private",
          "description" : "",
          "uid" : "39d82d7994484b53ae1de37ee8924512",
          "created_at" : "2020-11-01T23:16:23",
          "modified_at" : "2020-11-01T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaprivenv5",
            "shortName" : "tenantaprivenv5",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Auto",
            "visibility" : "private",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : true,
            "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
            "autoApproved" : true,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "420ly0dy72gi123r2m2n56m93ht25wy9",
          "created_at" : "2020-11-01T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_access/search/findByApplicationAndStream (Deprecated)
Returns the access of an Application for a Stream.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Stream | 
| 
 | A valid URI of an existing Application | 
GET /application_access/search/findByApplicationAndStream?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc&application=http%3A%2F%2Flocalhost%2Fapplications%2F5ffc4240fcdf4a479a16f2b0b12ab909 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 6972
{
  "_embedded" : {
    "application_access" : [ {
      "accessType" : "PRODUCER",
      "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Pending",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }, {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv2",
            "shortName" : "tenantaenv2",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "e11ee2dd976647109ca904dd8adc050f",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "764c61795cc4438ca8ea5aca262c8e70",
          "created_at" : "2018-09-09T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_access/search/findByEnvironment (Deprecated)
Returns all application access for given Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Environment | 
GET /application_access/search/findByEnvironment?environment=http%3A%2F%2Flocalhost%2Fenvironments%2F047ab08009fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 30440
{
  "_embedded" : {
    "application_access" : [ {
      "accessType" : "CONSUMER",
      "uid" : "21869bd76f034599a85fef0a6552ec11",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication3",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app3",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "private",
          "description" : "tenantaApplication3 description.",
          "uid" : "39d82d7f34484b53ae1dd47ee8924512",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream2",
          "owners" : {
            "name" : "Stream-tenAApplication2",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "88eb98e0eff34fde923c15687e6d75d5",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : {
            "level" : "L2",
            "description" : "This is level 2",
            "color" : "yellow",
            "uid" : "247ab03ffafe4da2bet905b5e352ab53",
            "created_at" : "2019-06-08T23:16:23",
            "modified_at" : "2019-06-08T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "confidentiality" : {
            "level" : "L2",
            "description" : "L2 confidentiality",
            "color" : "blue",
            "uid" : "648ab08009fe4da8be6905b55552ac43",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "description" : "description",
          "uid" : "a549f500d879419c9f5efa5d3cada7b3",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Cancelled",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "autoApproved" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "cc13e0110f7b45ec98d62f6ff8136ad4",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "b3450841af85449c96d9556a8e0c8669",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream2",
          "owners" : {
            "name" : "Stream-tenAApplication2",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "88eb98e0eff34fde923c15687e6d75d5",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : {
            "level" : "L2",
            "description" : "This is level 2",
            "color" : "yellow",
            "uid" : "247ab03ffafe4da2bet905b5e352ab53",
            "created_at" : "2019-06-08T23:16:23",
            "modified_at" : "2019-06-08T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "confidentiality" : {
            "level" : "L2",
            "description" : "L2 confidentiality",
            "color" : "blue",
            "uid" : "648ab08009fe4da8be6905b55552ac43",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "description" : "description",
          "uid" : "a549f500d879419c9f5efa5d3cada7b3",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "autoApproved" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "dd23e0110f7b45ec98d62f6ff8136ad6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "c5550841af85449c96d9556a8e0c5559",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication8",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app8",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "fbe9f4670h1c4866deg78722e2931e4g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream2",
          "owners" : {
            "name" : "Stream-tenAApplication2",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "88eb98e0eff34fde923c15687e6d75d5",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : {
            "level" : "L2",
            "description" : "This is level 2",
            "color" : "yellow",
            "uid" : "247ab03ffafe4da2bet905b5e352ab53",
            "created_at" : "2019-06-08T23:16:23",
            "modified_at" : "2019-06-08T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "confidentiality" : {
            "level" : "L2",
            "description" : "L2 confidentiality",
            "color" : "blue",
            "uid" : "648ab08009fe4da8be6905b55552ac43",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "description" : "description",
          "uid" : "a549f500d879419c9f5efa5d3cada7b3",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "autoApproved" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "fh33e0110f7b45ec98d62f6ff8137bf6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "e3450841af85449c96d9556a8e0c9678",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication5",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app5",
          "owners" : {
            "name" : "Team App Admins",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4oit834841869644c2ad8b439997",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "fdc9e4570f1c4866bef77722e2830d5g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Rejected",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "autoApproved" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "dd24e0110f7b45ec98d62f6ff8136ae7",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication1",
          "type" : "Java",
          "applicationClass" : null,
          "shortName" : "tenanta_app1",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "tenantaApplication1 description.",
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "grants" : [ {
          "comment" : null,
          "status" : "Pending",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv1",
            "shortName" : "tenantaenv1",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "autoApproved" : false,
            "uid" : "047ab08009fe4da8be6905b55552ab52",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
          "created_at" : "2018-06-07T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }, {
          "comment" : null,
          "status" : "Approved",
          "environment" : {
            "properties" : { },
            "name" : "tenantaenv2",
            "shortName" : "tenantaenv2",
            "description" : "environment",
            "color" : "#80affe",
            "authorizationIssuer" : "Stream owner",
            "visibility" : "public",
            "retentionTime" : 604800000,
            "partitions" : 12,
            "private" : false,
            "uid" : "e11ee2dd976647109ca904dd8adc050f",
            "autoApproved" : false,
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : "2018-06-07T23:16:23",
            "created_by" : null,
            "modified_by" : null
          },
          "requestedBy" : null,
          "processedBy" : null,
          "requestedAt" : null,
          "processedAt" : null,
          "uid" : "764c61795cc4438ca8ea5aca262c8e70",
          "created_at" : "2018-09-09T13:16:00",
          "modified_at" : null,
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "environment" : {
              "href" : "...",
              "templated" : true,
              "title" : "An environment"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        } ]
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccess" : {
          "href" : "...",
          "templated" : true,
          "title" : "Access declarations for streams of an application"
        },
        "createApplicationAccessGrant" : {
          "href" : "..."
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "grants" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/application_access/search/findByGrantsContaining
Returns all application access for given ApplicationAccessGrant.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Application Access Grant | 
GET /application_access/search/findByGrantsContaining?applicationAccessGrant=http%3A%2F%2Flocalhost%2Fapplication_access_grants%2F764c61795cc4438ca8ea5aca262c8e70 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 5978
{
  "accessType" : "PRODUCER",
  "uid" : "fedb6478bfd640caa02f5e5893c62bf0",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "application" : {
      "name" : "tenantaApplication1",
      "type" : "Java",
      "applicationClass" : null,
      "shortName" : "tenanta_app1",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "tenantaApplication1 description.",
      "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "grants" : [ {
      "comment" : null,
      "status" : "Pending",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv2",
        "shortName" : "tenantaenv2",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "e11ee2dd976647109ca904dd8adc050f",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "764c61795cc4438ca8ea5aca262c8e70",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "applicationAccess" : {
      "href" : "...",
      "templated" : true,
      "title" : "Access declarations for streams of an application"
    },
    "createApplicationAccessGrant" : {
      "href" : "..."
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "grants" : {
      "href" : "...",
      "templated" : true
    }
  }
}Managing ApplicationAccessGrant (Access per Environment)
In order to be able to request access for an ApplicationAccess on one or more Environment,
application owner needs to create an ApplicationAccessGrant.
Create an ApplicationAccessGrant (Deprecated)
A POST is used to create an ApplicationAccessGrant on one or more Environment.
The request should include references to a valid existing environment.
HTTP request
POST /application_access/d2150841af85449c96d9556a8e0c9290/grants HTTP/1.1
Content-Type: text/uri-list
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 62
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
http://localhost/environments/48dd87236ec445138330adb1a8a79f7eHTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://api.example.com/application_access_grants/78f377a0803d422496f2f703dac6a071
Content-Type: application/hal+json
Content-Length: 8741
{
  "id" : "78f377a0803d422496f2f703dac6a071",
  "optLock" : 0,
  "environment" : {
    "id" : "48dd87236ec445138330adb1a8a79f7e",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv7_with_app_access_only",
    "shortName" : "tenantaenv7",
    "description" : "environment with just app_access configured",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrtiO0cDpv97SK9Ck9ef1k\nR6KFttzxb/u+eMFi3RUErEGwE8P3thTseXRkp5hMwcyaSQv0wfLawlwcNFGOzsBx\nfJS7QUIUpEyzRqj5Ppgaj530APxbgitLOfVLZ2DvcBcmnQns6OE+uwymuvAj8Ftj\n6AFJXH2lmswHLl5uD9kIOwmpZg4NZLP2Qv+WOT6HLgI7Kv1z0OV2H7UlWA7hwQXl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uJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Auto",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "autoApproved" : true,
    "uid" : "48dd87236ec445138330adb1a8a79f7e",
    "created_at" : "2021-06-07T23:16:23",
    "modified_at" : "2021-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "status" : "Approved",
  "requestedBy" : "appadmin@tenanta.nl",
  "processedBy" : null,
  "comment" : null,
  "approved" : true,
  "pending" : false,
  "uid" : "78f377a0803d422496f2f703dac6a071",
  "created_at" : "2023-10-09T09:27:57.664420896",
  "modified_at" : "2023-10-09T09:27:57.664420896",
  "created_by" : "appadmin@tenanta.nl",
  "modified_by" : "appadmin@tenanta.nl",
  "requested_at" : "2023-10-09T09:27:57.663831139",
  "processed_at" : "2023-10-09T09:27:57.663862658"
}Create an ApplicationAccessGrant
A POST is used to create an ApplicationAccessGrant.
HTTP request
POST /application_access_grants HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 297
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "applicationId" : "http://api.example.com/applications/4cc380171afc4c898b6f6c02caccf451",
  "streamId" : "http://api.example.com/streams/a549f500d879419c9f5efa5d3cada7b3",
  "environmentId" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "accessType" : "CONSUMER"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://api.example.com/application_access_grants/67b4ca8d56684b81a2c2e1bda9ddd201
Content-Type: application/hal+json
Content-Length: 8584
{
  "id" : "67b4ca8d56684b81a2c2e1bda9ddd201",
  "optLock" : null,
  "environment" : {
    "id" : "047ab08009fe4da8be6905b55552ab52",
    "optLock" : 0,
    "properties" : { },
    "name" : "tenantaenv1",
    "shortName" : "tenantaenv1",
    "description" : "environment",
    "color" : "#80affe",
    "instance" : {
      "id" : "b9301e9144324928911f7d83ec40c478",
      "optLock" : 0,
      "properties" : {
        "replication.factor" : "2",
        "min.insync.replicas" : "1",
        "retention.ms" : "172800000",
        "num.partitions" : "3",
        "create-stream.disable-time" : "1",
        "segment.ms" : "172800000"
      },
      "name" : "TenantA OTA",
      "description" : "TenantA OTA Instance",
      "apiUrl" : "http://aeb-ota.local",
      "instanceClusters" : [ {
        "cluster" : {
          "id" : "543c3b7d55634eba83b1472775c131c4",
          "optLock" : 0,
          "name" : "Zone2 Cluster OTA",
          "description" : "",
          "location" : "Zone2",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone2.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone2.local",
          "bootstrapServers" : [ ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "543c3b7d55634eba83b1472775c131c4"
        },
        "schemaRegistryUrls" : "https://schema.local3"
      }, {
        "cluster" : {
          "id" : "66c12e25ab06458eac988f0d700fbe81",
          "optLock" : 0,
          "name" : "Zone1 Cluster OTA",
          "description" : "",
          "location" : "Zone1",
          "billingCloudEnabled" : true,
          "apiUrl" : "http://clusterapi-ota.zone1.local",
          "clusterBrowseUrl" : "http://clusterbrowse-ota.zone1.local",
          "bootstrapServers" : [ {
            "bootstrapServer" : "bootstrapserver1:9093"
          } ],
          "tenant" : null,
          "providerType" : null,
          "topicPattern" : null,
          "groupPattern" : null,
          "transactionalPattern" : null,
          "multiTenant" : false,
          "uid" : "66c12e25ab06458eac988f0d700fbe81"
        },
        "schemaRegistryUrls" : "https://schema.local1,https://schema.local2"
      } ],
      "caCerts" : [ {
        "pem" : "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6sTubPyL3ogPz6hXmfmPfAz\n+X//HTIiybL3e3qwxqWphp09+JT6veEp/e/wEEjSMj5nsxkDEjj9JEQWu/1B+N+V\nXOJkTYFy05ZgeWplkyLwT71myF047aISK27a+VebBMaPpvvetScbMSwxAbk51cGV\nUC4gpwvnvsbp/CRuMV0dYzkeTmxgn860l3s8+7qUJoOrti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+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n",
        "expiresOn" : null
      } ],
      "connectCerts" : [ ],
      "shortName" : "ota",
      "enabledAuthenticationMethods" : [ {
        "rank" : 1,
        "protocol" : "SASL",
        "mechanism" : "SCRAM_SHA_256"
      }, {
        "rank" : 0,
        "protocol" : "SSL",
        "mechanism" : "MUTUAL_TLS"
      }, {
        "rank" : 2,
        "protocol" : "SASL",
        "mechanism" : "OAUTH_BEARER"
      } ],
      "supportTier" : {
        "id" : "14cadc6238fc4695916a8053302743f5",
        "optLock" : 0,
        "name" : "GOLD",
        "description" : "This is gold",
        "uid" : "14cadc6238fc4695916a8053302743f5",
        "created_at" : "2018-09-20T00:00:00",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "connectEnabled" : true,
      "connectLoggingSupportEnabled" : false,
      "connectUrls" : "https://connect1.url,https://connect2.url",
      "granularBrowsePermission" : true,
      "environmentMapping" : true,
      "uid" : "b9301e9144324928911f7d83ec40c478",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null
    },
    "authorizationIssuer" : "Stream owner",
    "visibility" : "public",
    "retentionTime" : 604800000,
    "partitions" : 12,
    "owners" : {
      "id" : "aac290536035440e9a85f193e4affeb3",
      "optLock" : 0,
      "name" : "Environment-tenAenv1",
      "members" : [ {
        "id" : "ea0e7f147df84179a151bdc21f5bb813",
        "optLock" : 0,
        "firstName" : "tenAdmin",
        "lastName" : "TenantA",
        "middleName" : "middleName",
        "emailAddress" : {
          "email" : "tenadmin@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "TENANT_ADMIN"
        } ],
        "fullName" : "tenAdmin middleName TenantA",
        "uid" : "ea0e7f147df84179a151bdc21f5bb813",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "optLock" : 0,
        "firstName" : "powerUser",
        "lastName" : "powerUser",
        "middleName" : null,
        "emailAddress" : {
          "email" : "poweruser@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ {
          "name" : "APPLICATION_ADMIN"
        }, {
          "name" : "SUPER_ADMIN"
        }, {
          "name" : "STREAM_ADMIN"
        }, {
          "name" : "TENANT_ADMIN"
        }, {
          "name" : "ENVIRONMENT_ADMIN"
        } ],
        "fullName" : "powerUser powerUser",
        "uid" : "cedccd5c6d9e424ab1a9d9f767fc7cfd",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      }, {
        "id" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "optLock" : 0,
        "firstName" : "envOwner",
        "lastName" : "TenantA",
        "middleName" : null,
        "emailAddress" : {
          "email" : "envowner@tenanta.nl"
        },
        "phoneNumber" : null,
        "roles" : [ ],
        "fullName" : "envOwner TenantA",
        "uid" : "1759cc36cacd4dc28ed1b0336e22e06d",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      } ],
      "emailAddress" : null,
      "phoneNumber" : null,
      "uid" : "aac290536035440e9a85f193e4affeb3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null
    },
    "private" : false,
    "autoApproved" : false,
    "uid" : "047ab08009fe4da8be6905b55552ab52",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "status" : "Pending",
  "requestedBy" : "appadmin@tenanta.nl",
  "processedBy" : null,
  "comment" : null,
  "approved" : false,
  "pending" : true,
  "uid" : "67b4ca8d56684b81a2c2e1bda9ddd201",
  "created_at" : null,
  "modified_at" : null,
  "created_by" : null,
  "modified_by" : null,
  "requested_at" : "2023-10-09T09:27:57.635243355",
  "processed_at" : null
}Cancel a pending ApplicationAccessGrant
To cancel a grant that was already requested (in Pending state), call DELETE method on /application_access_grants/uid
endpoint.
HTTP request
DELETE /application_access_grants/cc13e0110f7b45ec98d62f6ff8136ad6 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersApprove a pending ApplicationAccessGrant
The StreamOwner needs to approve a pending ApplicationAccessGrant.
These can be done by using PUT method on /application_access_grants/uid.
HTTP request
PUT /application_access_grants/cc13e0110f7b45ec98d62f6ff8136ad6 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersRevoke/Deny an authorization request for an Environment (Deprecated)
StreamOwner can DENY or REVOKE an ApplicationAccessGrant by using DELETE
method on application_access/uid/grants.
ApplicationOwner also can CANCEL or REVOKE an ApplicationAccessGrant by using this endpoint.
It’s also possible to specify a comment/reason beside the request.
| EnvironmentOwnercanREVOKEanApplicationAccessGrantfor theirPRIVATEenvironments. | 
| The endpoint /application_access/uid/grantsis deprecated. Please refer to Revoke/Deny an authorization request for an ApplicationAccessGrant for denying/revoking an application access grant. | 
HTTP request
DELETE /application_access/fedb6478bfd640caa02f5e5893c62bf0/grants HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 115
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "reason" : "Not allowed.",
  "environment" : "http://localhost/environments/e11ee2dd976647109ca904dd8adc050f"
}HTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersRevoke/Deny an authorization request for an ApplicationAccessGrant
StreamOwner can DENY or REVOKE an ApplicationAccessGrant by using POST
method on application_access_grants/uid/deny.
ApplicationOwner also can CANCEL or REVOKE an ApplicationAccessGrant by using this endpoint.
It’s also possible to specify a comment/reason beside the request.
| EnvironmentOwnercanREVOKEanApplicationAccessGrantfor theirPRIVATEenvironments. | 
HTTP request
POST /application_access_grants/764c61795cc4438ca8ea5aca262c8e70/deny HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 31
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "reason" : "Not allowed."
}HTTP response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersSearching grants by Stream (Deprecated)
In order to search for grants for a specific Stream call the endpoint application_access_grants/search/findByStream.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | The stream to search for | 
HTTP request
GET /application_access_grants/search/findByStream?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 5473
{
  "_embedded" : {
    "application_access_grants" : [ {
      "comment" : null,
      "status" : "Rejected",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "dd24e0110f7b45ec98d62f6ff8136ae7",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv2",
        "shortName" : "tenantaenv2",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "e11ee2dd976647109ca904dd8adc050f",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "764c61795cc4438ca8ea5aca262c8e70",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Pending",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaprivenv5",
        "shortName" : "tenantaprivenv5",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "private",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : true,
        "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
        "autoApproved" : true,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "420ly0dy72gi123r2m2n56m93ht25wy9",
      "created_at" : "2020-11-01T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Searching grants by Attributes
A GET request is used to retrieve all application access grants based on the following parameters.
- 
StreamId 
- 
ApplicationId 
- 
EnvironmentId 
- 
OwnerIds 
- 
Statuses 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Stream id to search for. | 
| 
 | Application id to search for. | 
| 
 | Environment id to search for. | 
| 
 | Owner ids (comma separated) to search for. | 
| 
 | Statuses (comma separated) of the application access grant to search for. | 
| 
 | Property to sort on and the direction. | 
| 
 | Navigate through different pages. | 
| 
 | Property to define the page size. | 
HTTP request
GET /application_access_grants/search/findByAttributes?streamId=066f5944d16344f88c9214d240d139dc&applicationId=&environmentId=&ownerIds=&statuses=&sort=name%2Casc&page=0&size=5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 20954
{
  "_embedded" : {
    "applicationAccessGrantResponses" : [ {
      "accessType" : "CONSUMER",
      "uid" : "420ly0dy72gi123r2m2n56m93ht25wy9",
      "comment" : null,
      "_embedded" : {
        "environment" : {
          "properties" : { },
          "name" : "tenantaprivenv5",
          "shortName" : "tenantaprivenv5",
          "description" : "environment",
          "color" : "#80affe",
          "authorizationIssuer" : "Auto",
          "visibility" : "private",
          "retentionTime" : 604800000,
          "partitions" : 12,
          "private" : true,
          "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
          "autoApproved" : true,
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null
        },
        "application" : {
          "name" : "testRevoke",
          "shortName" : "test_revoke",
          "description" : "",
          "applicationType" : "Custom",
          "type" : "Java",
          "applicationClass" : null,
          "visibility" : "private",
          "owners" : {
            "name" : "Team Kad",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4e9a834841869644c2ad8b439553",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null,
            "_embedded" : {
              "members" : [ {
                "uid" : "007b994a6ab34165a93fd4c7a8db1388",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "kad",
                "emailAddress" : {
                  "email" : "kadmember@tenanta.nl"
                },
                "lastName" : "member",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              } ]
            },
            "_links" : {
              "members" : {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }
            }
          },
          "uid" : "39d82d7994484b53ae1de37ee8924512",
          "allApplicationIds" : [ "nl.tenanta.app.revoke" ],
          "created_at" : "2020-11-01T23:16:23",
          "modified_at" : "2020-11-01T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "applicationId" : "nl.tenanta.app.revoke"
        },
        "stream" : {
          "properties" : {
            "key-1" : "696969",
            "key-3" : "696969",
            "key-2" : "60000"
          },
          "name" : "tenanta-stream1",
          "description" : "description_tenanta-stream1",
          "keyType" : "AVRO",
          "valueType" : "AVRO",
          "retentionPolicy" : "delete",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl"
        }
      },
      "appConfigured" : false,
      "streamConfigured" : false,
      "status" : "Approved",
      "requestedByUser" : null,
      "processedByUser" : null,
      "processedAt" : null,
      "requestedAt" : null,
      "_links" : {
        "revoke" : {
          "href" : "..."
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "764c61795cc4438ca8ea5aca262c8e70",
      "comment" : null,
      "_embedded" : {
        "environment" : {
          "properties" : { },
          "name" : "tenantaenv2",
          "shortName" : "tenantaenv2",
          "description" : "environment",
          "color" : "#80affe",
          "authorizationIssuer" : "Stream owner",
          "visibility" : "public",
          "retentionTime" : 604800000,
          "partitions" : 12,
          "private" : false,
          "uid" : "e11ee2dd976647109ca904dd8adc050f",
          "autoApproved" : false,
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null
        },
        "application" : {
          "name" : "tenantaApplication1",
          "shortName" : "tenanta_app1",
          "description" : "tenantaApplication1 description.",
          "applicationType" : "Custom",
          "type" : "Java",
          "applicationClass" : null,
          "visibility" : "public",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null,
            "_embedded" : {
              "members" : [ {
                "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "envAuthor",
                "emailAddress" : {
                  "email" : "envauthor@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "7cb463240b8049578b298c214c28512a",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "envAdmin",
                "emailAddress" : {
                  "email" : "envadmin@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "51234a7a81994d1ca35ca7894cde08c6",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "appOwner",
                "emailAddress" : {
                  "email" : "appowner@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              } ]
            },
            "_links" : {
              "members" : [ {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              } ]
            }
          },
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
        },
        "stream" : {
          "properties" : {
            "key-1" : "696969",
            "key-3" : "696969",
            "key-2" : "60000"
          },
          "name" : "tenanta-stream1",
          "description" : "description_tenanta-stream1",
          "keyType" : "AVRO",
          "valueType" : "AVRO",
          "retentionPolicy" : "delete",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl"
        }
      },
      "appConfigured" : false,
      "streamConfigured" : true,
      "status" : "Approved",
      "requestedByUser" : null,
      "processedByUser" : null,
      "processedAt" : null,
      "requestedAt" : null,
      "_links" : {
        "revoke" : {
          "href" : "..."
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "comment" : null,
      "_embedded" : {
        "environment" : {
          "properties" : { },
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "description" : "environment",
          "color" : "#80affe",
          "authorizationIssuer" : "Stream owner",
          "visibility" : "public",
          "retentionTime" : 604800000,
          "partitions" : 12,
          "private" : false,
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "autoApproved" : false,
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null
        },
        "application" : {
          "name" : "tenantaApplication1",
          "shortName" : "tenanta_app1",
          "description" : "tenantaApplication1 description.",
          "applicationType" : "Custom",
          "type" : "Java",
          "applicationClass" : null,
          "visibility" : "public",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null,
            "_embedded" : {
              "members" : [ {
                "uid" : "9e66c8d7cd5c4e509ec0fe840ef37c62",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "envAuthor",
                "emailAddress" : {
                  "email" : "envauthor@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "7cb463240b8049578b298c214c28512a",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "envAdmin",
                "emailAddress" : {
                  "email" : "envadmin@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "51234a7a81994d1ca35ca7894cde08c6",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "appOwner",
                "emailAddress" : {
                  "email" : "appowner@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              } ]
            },
            "_links" : {
              "members" : [ {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              } ]
            }
          },
          "uid" : "5ffc4240fcdf4a479a16f2b0b12ab909",
          "allApplicationIds" : [ "nl.tenanta.new.app1", "nl.tenanta.app1" ],
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "applicationId" : "nl.tenanta.app1,nl.tenanta.new.app1"
        },
        "stream" : {
          "properties" : {
            "key-1" : "696969",
            "key-3" : "696969",
            "key-2" : "60000"
          },
          "name" : "tenanta-stream1",
          "description" : "description_tenanta-stream1",
          "keyType" : "AVRO",
          "valueType" : "AVRO",
          "retentionPolicy" : "delete",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl"
        }
      },
      "appConfigured" : true,
      "streamConfigured" : true,
      "status" : "Pending",
      "requestedByUser" : null,
      "processedByUser" : null,
      "processedAt" : null,
      "requestedAt" : null,
      "_links" : {
        "approve" : {
          "href" : "..."
        },
        "deny" : {
          "href" : "..."
        }
      }
    }, {
      "accessType" : "PRODUCER",
      "uid" : "dd24e0110f7b45ec98d62f6ff8136ae7",
      "comment" : null,
      "_embedded" : {
        "environment" : {
          "properties" : { },
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "description" : "environment",
          "color" : "#80affe",
          "authorizationIssuer" : "Stream owner",
          "visibility" : "public",
          "retentionTime" : 604800000,
          "partitions" : 12,
          "private" : false,
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "autoApproved" : false,
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null
        },
        "application" : {
          "name" : "tenantaApplication5",
          "shortName" : "tenanta_app5",
          "description" : "",
          "applicationType" : "Custom",
          "type" : "Java",
          "applicationClass" : null,
          "visibility" : "public",
          "owners" : {
            "name" : "Team App Admins",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4oit834841869644c2ad8b439997",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null,
            "_embedded" : {
              "members" : [ {
                "uid" : "e235c8fe4264431bbdb3b40a2e5f8f62",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "appAuthor",
                "emailAddress" : {
                  "email" : "appauthor@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "s39sef147df84179a151bdc21f5bb813",
                "middleName" : "middleName",
                "phoneNumber" : null,
                "firstName" : "tenAdmin",
                "emailAddress" : {
                  "email" : "tenadmin@tenantactive.nl"
                },
                "lastName" : "TenantActive",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "caa51002633244ffbe36f4ccf8a8f501",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "appAdmin",
                "emailAddress" : {
                  "email" : "appadmin@tenanta.nl"
                },
                "lastName" : "TenantA",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              }, {
                "uid" : "avcdfr5c6d9e424ab1a9d9f767fc7cfd",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "powerUser",
                "emailAddress" : {
                  "email" : "poweruser@tenantactive.nl"
                },
                "lastName" : "powerUser",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              } ]
            },
            "_links" : {
              "members" : [ {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }, {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              } ]
            }
          },
          "uid" : "fdc9e4570f1c4866bef77722e2830d5g",
          "allApplicationIds" : [ "nl.tenanta.app5" ],
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "applicationId" : "nl.tenanta.app5"
        },
        "stream" : {
          "properties" : {
            "key-1" : "696969",
            "key-3" : "696969",
            "key-2" : "60000"
          },
          "name" : "tenanta-stream1",
          "description" : "description_tenanta-stream1",
          "keyType" : "AVRO",
          "valueType" : "AVRO",
          "retentionPolicy" : "delete",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl"
        }
      },
      "appConfigured" : true,
      "streamConfigured" : true,
      "status" : "Rejected",
      "requestedByUser" : null,
      "processedByUser" : null,
      "processedAt" : null,
      "requestedAt" : null
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 5,
    "totalElements" : 4,
    "totalPages" : 1,
    "number" : 0
  }
}Searching grants in your team grants
In order to search for grant that belongs to your team, set myTeams to true.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | If the property is set to true returns the grants owned by the user’s team. | 
HTTP request
GET /application_access_grants/search/findByAttributes?myTeams=true HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 4051
{
  "_embedded" : {
    "applicationAccessGrantResponses" : [ {
      "accessType" : "CONSUMER",
      "uid" : "420ly0dy72gi123r2m2n56m93ht25wy9",
      "comment" : null,
      "_embedded" : {
        "environment" : {
          "properties" : { },
          "name" : "tenantaprivenv5",
          "shortName" : "tenantaprivenv5",
          "description" : "environment",
          "color" : "#80affe",
          "authorizationIssuer" : "Auto",
          "visibility" : "private",
          "retentionTime" : 604800000,
          "partitions" : 12,
          "private" : true,
          "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
          "autoApproved" : true,
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null
        },
        "application" : {
          "name" : "testRevoke",
          "shortName" : "test_revoke",
          "description" : "",
          "applicationType" : "Custom",
          "type" : "Java",
          "applicationClass" : null,
          "visibility" : "private",
          "owners" : {
            "name" : "Team Kad",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "514d4e9a834841869644c2ad8b439553",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null,
            "_embedded" : {
              "members" : [ {
                "uid" : "007b994a6ab34165a93fd4c7a8db1388",
                "middleName" : null,
                "phoneNumber" : null,
                "firstName" : "kad",
                "emailAddress" : {
                  "email" : "kadmember@tenanta.nl"
                },
                "lastName" : "member",
                "_links" : {
                  "tenant" : {
                    "href" : "...",
                    "title" : "A tenant"
                  },
                  "self" : {
                    "href" : "...",
                    "templated" : true,
                    "title" : "URI pointing to current request"
                  }
                }
              } ]
            },
            "_links" : {
              "edit" : {
                "href" : "...",
                "title" : "Indication that this entity can be edited"
              },
              "members" : {
                "href" : "...",
                "templated" : true,
                "title" : "Users belonging to this group"
              }
            }
          },
          "uid" : "39d82d7994484b53ae1de37ee8924512",
          "allApplicationIds" : [ "nl.tenanta.app.revoke" ],
          "created_at" : "2020-11-01T23:16:23",
          "modified_at" : "2020-11-01T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "applicationId" : "nl.tenanta.app.revoke"
        },
        "stream" : {
          "properties" : {
            "key-1" : "696969",
            "key-3" : "696969",
            "key-2" : "60000"
          },
          "name" : "tenanta-stream1",
          "description" : "description_tenanta-stream1",
          "keyType" : "AVRO",
          "valueType" : "AVRO",
          "retentionPolicy" : "delete",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl"
        }
      },
      "appConfigured" : false,
      "streamConfigured" : false,
      "status" : "Approved",
      "requestedByUser" : null,
      "processedByUser" : null,
      "processedAt" : null,
      "requestedAt" : null,
      "_links" : {
        "revoke" : {
          "href" : "..."
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Searching actionable application access requests (Deprecated)
In order to search for actionable application access requests for the user that is currently logged in.
Actionable items:
- 
ApplicationAccessGrant which is not approved or denied yet 
| The endpoint /application_access_grants/search/findActionableis deprecated. Please refer to Searching grants by Attributes by providingPENDINGstatus to find actionable application access requests. | 
HTTP request
GET /application_access_grants/search/findActionable HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 275
{
  "_embedded" : {
    "application_access_grants" : [ ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 0,
    "totalPages" : 0,
    "number" : 0
  }
}Searching informative application access requests with a specific status type (Deprecated)
In order to search for non-actionable (informative) application access requests for the user that is currently logged in for a specific status type.
Status types:
- 
PENDING 
- 
APPROVED 
- 
REJECTED 
- 
CANCELLED 
- 
REVOKED 
Non-actionable (informative) items:
- 
Items pending 
- 
Approved 
- 
Denied 
| The endpoint /application_access_grants/search/findInformativeis deprecated. Please refer to Searching grants by Attributes by providing proper status to find informative application access requests. | 
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Any valid status as mentioned above. | 
HTTP request
GET /application_access_grants/search/findInformative?status=PENDING HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1598
{
  "_embedded" : {
    "application_access_grants" : [ {
      "comment" : null,
      "status" : "Pending",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Searching informative application access requests for all status types (Deprecated)
In order to search for non-actionable (informative) application access requests for the user that is currently logged in for all status types.
Non-actionable (informative) items:
- 
Items pending 
- 
Approved 
- 
Denied 
| The endpoint /application_access_grants/search/findAllInformativeis deprecated. Please refer to Searching grants by Attributes by providing proper status. | 
HTTP request
GET /application_access_grants/search/findAllInformative HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 16283
{
  "_embedded" : {
    "application_access_grants" : [ {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaprivenv5",
        "shortName" : "tenantaprivenv5",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "private",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : true,
        "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
        "autoApproved" : true,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "420ly0dy72gi123r2m2n56m93ht25wy9",
      "created_at" : "2020-11-01T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaprivenv4",
        "shortName" : "tenantaprivenv4",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "private",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : true,
        "uid" : "83c1b34b0c6744dcadb85f4c188518g5",
        "autoApproved" : true,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "875d61795cc4438ca8ea5aca262c8f80",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Rejected",
      "environment" : {
        "properties" : { },
        "name" : "tenantaprivenv2",
        "shortName" : "tenantaprivenv2",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "private",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : true,
        "uid" : "61b1b34b0c6744dcadb85f4c188517e5",
        "autoApproved" : true,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "984e61795cc4438ca8ea5aca262c8g91",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaprivenv5",
        "shortName" : "tenantaprivenv5",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "private",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : true,
        "uid" : "6u2577bclboz97ievex0fv5hvysemooh",
        "autoApproved" : true,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "oqqly0dy72gi1npr2mfl56m99mt25wy9",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Cancelled",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad4",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv2",
        "shortName" : "tenantaenv2",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "e11ee2dd976647109ca904dd8adc050f",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "764c61795cc4438ca8ea5aca262c8e70",
      "created_at" : "2018-09-09T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Pending",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "cc13e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv7_with_app_access_only",
        "shortName" : "tenantaenv7",
        "description" : "environment with just app_access configured",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "48dd87236ec445138330adb1a8a79f7e",
        "autoApproved" : true,
        "created_at" : "2021-06-07T23:16:23",
        "modified_at" : "2021-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "8060427241d041bebb09ec714680c6fb",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "dd23e0110f7b45ec98d62f6ff8136ad6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv9_with_app_principal_and_credential",
        "shortName" : "tenantapublicenv9",
        "description" : "environment with app access and grant configured",
        "color" : "#80affe",
        "authorizationIssuer" : "Auto",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
        "autoApproved" : true,
        "created_at" : "2021-06-07T23:16:23",
        "modified_at" : "2021-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "8060427241d041bebb09ec714680g8db",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Approved",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "fh33e0110f7b45ec98d62f6ff8137bf6",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    }, {
      "comment" : null,
      "status" : "Rejected",
      "environment" : {
        "properties" : { },
        "name" : "tenantaenv1",
        "shortName" : "tenantaenv1",
        "description" : "environment",
        "color" : "#80affe",
        "authorizationIssuer" : "Stream owner",
        "visibility" : "public",
        "retentionTime" : 604800000,
        "partitions" : 12,
        "private" : false,
        "uid" : "047ab08009fe4da8be6905b55552ab52",
        "autoApproved" : false,
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "requestedBy" : null,
      "processedBy" : null,
      "requestedAt" : null,
      "processedAt" : null,
      "uid" : "dd24e0110f7b45ec98d62f6ff8136ae7",
      "created_at" : "2018-06-07T13:16:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationAccessGrant" : {
          "href" : "...",
          "templated" : true
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 12,
    "totalPages" : 1,
    "number" : 0
  }
}ApplicationDeployments
An ApplicationDeployment stores the configs for complex application types like connector that is saved for
an Application on an Environment.
The /application_deployments resource is used to create, update, delete, and list application deployments.
List all application deployments
HTTP method GET is disabled for /application_deployments. Refer to search endpoints to find one
or more ApplicationDeployment for an Application or an Environment.
Create Application deployment
A POST request is used to create a new ApplicationDeployment. The request should include reference to
a valid existing application and environment.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| configs | Object | Configs for an  | |
| environment | String | A valid URI of an existing  | |
| application | String | A valid URI of an existing  | 
Curl request
$ curl 'http://api.example.com/application_deployments' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "configs" : {
    "configKey" : "configValue",
    "key.converter" : null,
    "tasks.max" : null
  },
  "application" : "http://api.example.com/applications/lmk9f4670h1c4866deg78722e2931e5g",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}'HTTP request
POST /application_deployments HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 287
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "configs" : {
    "configKey" : "configValue",
    "key.converter" : null,
    "tasks.max" : null
  },
  "application" : "http://api.example.com/applications/lmk9f4670h1c4866deg78722e2931e5g",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://api.example.com/application_deployments/5bef385b7e324a06b8182d6a8ed19ac1Retrieve application deployment
The application_deployments/{id} resource is used to retrieve a single deployment of an application
for an environment.
A GET request will retrieve the details of a ApplicationDeployment.
HTTP request
GET /application_deployments/1e9ee6ce053c46b0932358c7403a56fd HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 2936
{
  "configs" : [ {
    "configKey" : "logger.name",
    "configValue" : "axual-logger"
  }, {
    "configKey" : "name",
    "configValue" : "Axual Logger"
  }, {
    "configKey" : "customeKey",
    "configValue" : "Custom Value"
  }, {
    "configKey" : "connector.class",
    "configValue" : "io.axual.connector"
  } ],
  "state" : "Undeployed",
  "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "application" : {
      "name" : "tenantaApplication6",
      "type" : "SINK",
      "applicationClass" : "io.axual.test.sink.plugin",
      "shortName" : "tenanta_app6",
      "owners" : {
        "name" : "Application-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "visibility" : "public",
      "description" : "",
      "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "applicationDeployment" : {
      "href" : "..."
    },
    "start" : {
      "href" : "..."
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "application" : {
      "href" : "...",
      "templated" : true,
      "title" : "An application"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can start this Application | 
Restart connector’s task
The application_deployments/{id}/task/{taskId}/operation resource is used to restart connector task.
A GET request will restart the connector task using taskId.
| Parameter | Description | 
|---|---|
| 
 | A valid action to perform on the deployment | 
PUT /application_deployments/2f8ff6ce053c46b0932358c7403a57ge/task/2/operation?action=RESTART_TASK HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Type: application/x-www-form-urlencoded
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersRetrieve connector config from application deployment
The application_deployments/{id}/config resource is used to retrieve a configured connector config.
A GET request will retrieve the details of a ApplicationDeployment Connector Config.
When application_deployment gets a new plugin class after Axual Connect upgrade, the API provides
information on which plugin config is unsupported or added. Each plugin config is marked as
Unsupported,
New or Custom and the fields unsupported   PluginConfigFound and newPluginConfigFound will
return true accordingly to signify that the deployment config has to be reviewed.
Any property which is not part of the default connector configuration will be marked as Custom.
HTTP request
GET /application_deployments/1e9ee6ce053c46b0932358c7403a56fd/config HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 2459
{
  "pluginConfigs" : [ {
    "name" : "key.converter",
    "type" : "CLASS",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "LOW",
    "documentation" : null,
    "pluginConfigState" : "New",
    "group" : "group1"
  }, {
    "name" : "connector.class",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : "io.axual.connector",
    "importance" : "HIGH",
    "documentation" : "Name or alias of the class for this connector. Must be a subclass of org.apache.kafka.connect.connector.Connector. If the connector is org.apache.kafka.connect.file.FileStreamSinkConnector, you can either specify this full name,  or use \"FileStreamSink\" or \"FileStreamSinkConnector\" to make the configuration a bit shorter",
    "pluginConfigState" : "Existing",
    "group" : "group1"
  }, {
    "name" : "name",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : "Axual Logger",
    "importance" : "HIGH",
    "documentation" : "Globally unique name to use for this connector.",
    "pluginConfigState" : "Existing",
    "group" : "group2"
  }, {
    "name" : "customeKey",
    "type" : null,
    "required" : false,
    "defaultValue" : null,
    "providedValue" : "Custom Value",
    "importance" : null,
    "documentation" : null,
    "pluginConfigState" : "Custom",
    "group" : ""
  }, {
    "name" : "logger.name",
    "type" : "STRING",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : "axual-logger",
    "importance" : "HIGH",
    "documentation" : "The name of the SLF4J Logger to write the messages",
    "pluginConfigState" : "Existing",
    "group" : "group2"
  }, {
    "name" : "tasks.max",
    "type" : "INT",
    "required" : true,
    "defaultValue" : null,
    "providedValue" : null,
    "importance" : "LOW",
    "documentation" : null,
    "pluginConfigState" : "New",
    "group" : "group3"
  }, {
    "name" : "transforms",
    "type" : "LIST",
    "required" : true,
    "defaultValue" : "",
    "providedValue" : "",
    "importance" : "LOW",
    "documentation" : "Aliases for the transformations to be applied to records.",
    "pluginConfigState" : "New",
    "group" : "group1"
  } ],
  "unsupportedPluginConfigFound" : false,
  "newMandatoryPluginConfigFound" : true,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Update application deployment
A PUT request is used to update a ApplicationDeployment. Only configs field can be modified.
If application or environment needs to be updated, delete the ApplicationDeployment and create a new one.
$ curl 'http://api.example.com/application_deployments/1e9ee6ce053c46b0932358c7403a56fd' -i -X PUT \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "configs" : {
    "key" : "value"
  }
}'PUT /application_deployments/1e9ee6ce053c46b0932358c7403a56fd HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 43
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "configs" : {
    "key" : "value"
  }
}HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersDelete application deployment
A DELETE request is used to delete an ApplicationDeployment.
$ curl 'http://api.example.com/application_deployments/3g9ff6ce053c46b0932358c7403a58ff' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /application_deployments/3g9ff6ce053c46b0932358c7403a58ff HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersApplicationDeployments search endpoints
/application_deployments/search/findByApplicationAndEnvironment
Returns application deployments for given Application and Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Application | 
| 
 | A valid URI of an existing Environment | 
GET /application_deployments/search/findByApplicationAndEnvironment?application=http%3A%2F%2Flocalhost%2Fapplications%2Fdbc9e4670h1c4866deg78722e2930d2g&environment=http%3A%2F%2Flocalhost%2Fenvironments%2F047ab08009fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 3555
{
  "_embedded" : {
    "application_deployments" : [ {
      "configs" : [ {
        "configKey" : "logger.name",
        "configValue" : "axual-logger"
      }, {
        "configKey" : "name",
        "configValue" : "Axual Logger"
      }, {
        "configKey" : "customeKey",
        "configValue" : "Custom Value"
      }, {
        "configKey" : "connector.class",
        "configValue" : "io.axual.connector"
      } ],
      "state" : "Undeployed",
      "uid" : "1e9ee6ce053c46b0932358c7403a56fd",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "application" : {
          "name" : "tenantaApplication6",
          "type" : "SINK",
          "applicationClass" : "io.axual.test.sink.plugin",
          "shortName" : "tenanta_app6",
          "owners" : {
            "name" : "Application-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "c339c5cf9b5a4f6b8342c6ea2f9b6775",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "visibility" : "public",
          "description" : "",
          "uid" : "dbc9e4670h1c4866deg78722e2930d2g",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "applicationDeployment" : {
          "href" : "..."
        },
        "start" : {
          "href" : "..."
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "application" : {
          "href" : "...",
          "templated" : true,
          "title" : "An application"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}ApplicationDeployments Perform action
/application_deployments/operation
Perform an action for an application deployment : The valid actions are: START, STOP, RESET, DELETE.
| Parameter | Description | 
|---|---|
| 
 | A valid action to perform on the deployment | 
PUT /application_deployments/1e9ee6ce053c46b0932358c7403a56fd/operation?action=START HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersApplicationDeployments Get status
/application_deployments/status
Returns the real time status of the application_deployment , along with the status for the tasks associated to the application_deployment.
$ curl 'http://api.example.com/application_deployments/1e9ee6ce053c46b0932358c7403a56fd/status' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /application_deployments/1e9ee6ce053c46b0932358c7403a56fd/status HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 235
{
  "connectorState" : {
    "state" : "Undefined",
    "workerId" : null,
    "trace" : null
  },
  "taskStates" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Streams
A Stream is a continuous flow of similar events (messages) grouped together under a single identity.
The streams resource is used to create and list Streams.
Stream Schema
The streams resource uses the following json-schema:
GET /profile/streams HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 2204
{
  "title" : "Stream",
  "properties" : {
    "confidentiality" : {
      "title" : "Confidentiality",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "keySchema" : {
      "title" : "Key schema",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "owners" : {
      "title" : "Owners",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "valueSchema" : {
      "title" : "Value schema",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "integrity" : {
      "title" : "Integrity",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "valueType" : {
      "title" : "Value type",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "AVRO", "JSON", "String", "Binary", "Xml" ]
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "retentionPolicy" : {
      "title" : "Retention policy",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "delete", "compact" ]
    },
    "keyType" : {
      "title" : "Key type",
      "readOnly" : false,
      "type" : "string",
      "enum" : [ "AVRO", "JSON", "String", "Binary", "Xml" ]
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "properties" : {
      "title" : "Properties",
      "readOnly" : false,
      "type" : "object"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all streams
A GET request will list all the Streams visible to the currently logged in user.
Curl request
$ curl 'http://api.example.com/streams' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /streams HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 35591
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream-string-avro",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-string-avro",
      "uid" : "066f5944d16944f88c91e4d240d139dc",
      "created_at" : "2022-06-07T23:16:23",
      "modified_at" : "2022-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream-avro-string",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-avro-string",
      "uid" : "066f5949d16944f69c91e4d240d420dc",
      "created_at" : "2022-06-07T13:16:23",
      "modified_at" : "2022-06-07T13:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination10",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "21105915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination12",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba694c0d9da2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_auto_approve_test",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-my_stream",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd23444454153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : "poweruser@tenanta.nl",
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination2",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be614c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination16",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be624c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination14",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d6dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream4",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d9dd2301ff54153f0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination18",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination6",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "311ac915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination8",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31bbb915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination9",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "41105915be694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream5",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "63f9d62dfb6141dcae073c2cd09c982f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination4",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "66605915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination1",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153fc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    },
    "create" : {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 28,
    "totalPages" : 2,
    "number" : 0
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can create a new Stream | 
Create stream
A POST request is used to create a new stream. A message stored in a stream is a key-value pair.
The key is used internally by Kafka while value represents the payload of the message. The key and
value could be of different formats. These formats are described in below table.
| Data format | Description | 
|---|---|
| A JSON like data model with sophisticated schema description. | |
| 
 | Data structured in JSON format. | 
| 
 | A plain text data with no format. | 
| 
 | Low-level binary data | 
The data format for key and value is specified by keyType and valueType fields. If AVRO
format is selected, a separate keySchema and valueSchema must be specified for complete
AVRO definition. For all other data formats, these fields can be skipped.
It is possible to have different data formats for key and value.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | The name of the stream | Must match the regular expression  | 
| description | String | A summary text describing the purpose of this stream. | Size must be between 0 and 200 inclusive | 
| properties | Object | A list of Stream specific variables in Key, Value format. | |
| owners | String | A valid URI of an existing group, must not be null. | Must not be null | 
| retentionPolicy | String | Defines the policy to retain the messages on this stream. Possible values  | Must not be null | 
| keyType | String | Key type of Stream. Can be one of  | Must not be null | 
| valueType | String | Value type of Stream. Can be one of  | Must not be null | 
| keySchema | String | A URI of an existing Schema. Only needed when  | |
| valueSchema | String | A URI of an existing Schema. Only needed when  | |
| integrity | String | A URI of an existing Integrity. Only needed when  | |
| confidentiality | String | A URI of an existing Confidentiality. Only needed when  | 
Curl request
$ curl 'http://api.example.com/streams' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "general-applicationlog",
  "description" : "Stream to capture application logs",
  "keyType" : "AVRO",
  "valueType" : "AVRO",
  "retentionPolicy" : "delete",
  "keySchema" : "http://api.example.com/schemas/4edccfd6aa744e698542da36f1f01114",
  "valueSchema" : "http://api.example.com/schemas/8bc19be0c9cd4da296acd78e6022edf1",
  "integrity" : "http://api.example.com/integrities/247ab08159fe4da8be6905b55552ab52",
  "confidentiality" : "http://api.example.com/confidentialities/347ab08009fe4da8be6905b55552ab52",
  "owners" : "http://api.example.com/groups/2d8e99afd6e047f69c9595b4f2525fa6"
}'HTTP request
POST /streams HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 606
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "general-applicationlog",
  "description" : "Stream to capture application logs",
  "keyType" : "AVRO",
  "valueType" : "AVRO",
  "retentionPolicy" : "delete",
  "keySchema" : "http://api.example.com/schemas/4edccfd6aa744e698542da36f1f01114",
  "valueSchema" : "http://api.example.com/schemas/8bc19be0c9cd4da296acd78e6022edf1",
  "integrity" : "http://api.example.com/integrities/247ab08159fe4da8be6905b55552ab52",
  "confidentiality" : "http://api.example.com/confidentialities/347ab08009fe4da8be6905b55552ab52",
  "owners" : "http://api.example.com/groups/2d8e99afd6e047f69c9595b4f2525fa6"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:31:27 GMT
Location: http://api.example.com/streams/891f2ed134aa429ea2e8abc83b2664f8
Content-Type: application/hal+json
Content-Length: 3055
{
  "properties" : { },
  "name" : "general-applicationlog",
  "description" : "Stream to capture application logs",
  "keyType" : "AVRO",
  "valueType" : "AVRO",
  "retentionPolicy" : "delete",
  "uid" : "891f2ed134aa429ea2e8abc83b2664f8",
  "created_at" : "2023-10-09T09:31:27.958522526",
  "modified_at" : "2023-10-09T09:31:27.958522526",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "_embedded" : {
    "valueSchema" : {
      "name" : "nl.tenanta.value-schema1",
      "description" : "",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "keySchema" : {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "owners" : {
      "name" : "Stream-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "valueSchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for value"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "keySchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for key"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    }
  }
}Retrieve a stream
The streams/{id} resource is used to retrieve, update and delete individual streams.
A GET request will retrieve the details of a Stream.
HTTP request
GET /streams/066f5944d16344f88c9214d240d139dc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 3093
{
  "properties" : {
    "key-1" : "696969",
    "key-3" : "696969",
    "key-2" : "60000"
  },
  "name" : "tenanta-stream1",
  "description" : "description_tenanta-stream1",
  "keyType" : "AVRO",
  "valueType" : "AVRO",
  "retentionPolicy" : "delete",
  "uid" : "066f5944d16344f88c9214d240d139dc",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : "strauthor@tenanta.nl",
  "modified_by" : "strauthor@tenanta.nl",
  "_embedded" : {
    "valueSchema" : {
      "name" : "nl.tenanta.value-schema1",
      "description" : "",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "keySchema" : {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "owners" : {
      "name" : "Stream-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "valueSchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for value"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "keySchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for key"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Version of the Key schema definition | 
| 
 | Version of the Value schema definition | 
| 
 | The group of users allowed to access/update the environment. | 
| 
 | UID of the Integrity level definition | 
| 
 | UID of the Confidentiality level definition | 
| 
 | Existence of this link indicates that the currently authenticated user can edit this Stream | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this Stream | 
Update a stream
A PATCH request is used to update a stream. In the request, pass only the field that needs changing.
Stream’s Value Type, Key Type, Retention Policy and Schema(if AVRO) are editable when there is no stream config created for the stream.
$ curl 'http://api.example.com/streams/066f5944d16344f88c9214d240d139dc' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "retentionTime" : 2000
}'PATCH /streams/066f5944d16344f88c9214d240d139dc HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 28
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "retentionTime" : 2000
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 3093
{
  "properties" : {
    "key-1" : "696969",
    "key-3" : "696969",
    "key-2" : "60000"
  },
  "name" : "tenanta-stream1",
  "description" : "description_tenanta-stream1",
  "keyType" : "AVRO",
  "valueType" : "AVRO",
  "retentionPolicy" : "delete",
  "uid" : "066f5944d16344f88c9214d240d139dc",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : "strauthor@tenanta.nl",
  "modified_by" : "strauthor@tenanta.nl",
  "_embedded" : {
    "valueSchema" : {
      "name" : "nl.tenanta.value-schema1",
      "description" : "",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "keySchema" : {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "owners" : {
      "name" : "Stream-tenAApplication1",
      "phoneNumber" : null,
      "emailAddress" : null,
      "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "members" : {
          "href" : "...",
          "templated" : true,
          "title" : "Users belonging to this group"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "valueSchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for value"
    },
    "confidentiality" : {
      "href" : "...",
      "templated" : true,
      "title" : "The confidentiality configured for the object"
    },
    "keySchema" : {
      "href" : "...",
      "templated" : true,
      "title" : "The AVRO schema configured for key"
    },
    "integrity" : {
      "href" : "...",
      "templated" : true,
      "title" : "The integrity configured for the object"
    },
    "owners" : {
      "href" : "...",
      "templated" : true,
      "title" : "The group responsible for this object"
    }
  }
}Stream search endpoints
/streams/search/findByAttributes
A GET request is used to retrieve all streams based on parameters.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Stream name to search for. | 
| 
 | Stream id to search for. | 
| 
 | Stream description to search. | 
| 
 | If set to true - returns only owned streams. | 
| 
 | Property to sort on and the direction. | 
| 
 | Navigate through different pages. | 
| 
 | Property to define the page size. | 
HTTP request
GET /streams/search/findByAttributes?name=tenanta-stream1&streamId=&myStreams=false&description=t&sort=name%2Casc&page=0&size=5 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2125
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 5,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}Filter by myStreams
A GET request will retrieve streams owned by the current user if parameter myStreams is set to true.
| Parameter | Description | 
|---|---|
| 
 | Search only for my streams. | 
GET /streams/search/findByAttributes?myStreams=true HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2074
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-my_stream",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd23444454153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : "poweruser@tenanta.nl",
      "modified_by" : null,
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/streams/search/findByName
Search for a stream by exact name.
| Parameter | Description | 
|---|---|
| 
 | Stream name to search for. | 
GET /streams/search/findByName?name=tenanta-stream1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1917
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/streams/search/findByNameContaining
Search for a stream by name containing search term.
| Parameter | Description | 
|---|---|
| 
 | Term to search within stream name. | 
GET /streams/search/findByNameContaining?name=stream HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 33686
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream-string-avro",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-string-avro",
      "uid" : "066f5944d16944f88c91e4d240d139dc",
      "created_at" : "2022-06-07T23:16:23",
      "modified_at" : "2022-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream-avro-string",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-avro-string",
      "uid" : "066f5949d16944f69c91e4d240d420dc",
      "created_at" : "2022-06-07T13:16:23",
      "modified_at" : "2022-06-07T13:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination10",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "21105915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination12",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba694c0d9da2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_auto_approve_test",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-my_stream",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd23444454153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : "poweruser@tenanta.nl",
      "modified_by" : null,
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination2",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be614c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination16",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be624c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination14",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d6dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream4",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d9dd2301ff54153f0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination18",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination6",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "311ac915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination8",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31bbb915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination9",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "41105915be694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream5",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "63f9d62dfb6141dcae073c2cd09c982f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination4",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "66605915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f0",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination1",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153fc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 28,
    "totalPages" : 2,
    "number" : 0
  }
}/streams/search/findByNameContaining
Search for a stream by name containing search term and order by a nested property.
| Parameter | Description | 
|---|---|
| 
 | Term to search within stream name. | 
| 
 | Property to sort on and the direction. | 
GET /streams/search/findByNameContaining?name=stream&sort=owners.name%2Casc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 34338
{
  "_embedded" : {
    "streams" : [ {
      "name" : "tenanta-my_stream",
      "owners" : {
        "name" : "Environment-tenAenv1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "aac290536035440e9a85f193e4affeb3",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd23444454153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : null,
      "created_by" : "poweruser@tenanta.nl",
      "modified_by" : null,
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream-avro-string",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-avro-string",
      "uid" : "066f5949d16944f69c91e4d240d420dc",
      "created_at" : "2022-06-07T13:16:23",
      "modified_at" : "2022-06-07T13:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream-string-avro",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream-string-avro",
      "uid" : "066f5944d16944f88c91e4d240d139dc",
      "created_at" : "2022-06-07T23:16:23",
      "modified_at" : "2022-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream-string-string",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "a532f500d879419fff5efa5d3cada7b3",
      "created_at" : "2021-06-07T23:16:23",
      "modified_at" : "2021-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream2",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : {
        "level" : "L2",
        "description" : "This is level 2",
        "color" : "yellow",
        "uid" : "247ab03ffafe4da2bet905b5e352ab53",
        "created_at" : "2019-06-08T23:16:23",
        "modified_at" : "2019-06-08T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "confidentiality" : {
        "level" : "L2",
        "description" : "L2 confidentiality",
        "color" : "blue",
        "uid" : "648ab08009fe4da8be6905b55552ac43",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "description" : "description",
      "uid" : "a549f500d879419c9f5efa5d3cada7b3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream5",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "63f9d62dfb6141dcae073c2cd09c982f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_auto_approve_test",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba964c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination1",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination10",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "21105915be694c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination11",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "9110591abe694c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination12",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915ba694c0d9da2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination13",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9df2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination14",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d6dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination15",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be695c0d9dd2301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination16",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be624c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination17",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9ddc301ff54153f1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination18",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be694c0d9dd2302cf54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination2",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "31105915be614c0d9dd2301ff54153f2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }, {
      "name" : "tenanta-stream_pagination3",
      "owners" : {
        "name" : "Team Null",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "514d4e9a834841699644c2420b439553",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description",
      "uid" : "91105915be694c0d9dd2301ff54153fc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    } ]
  },
  "_links" : {
    "first" : {
      "href" : "..."
    },
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "next" : {
      "href" : "..."
    },
    "last" : {
      "href" : "..."
    },
    "create" : [ {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    }, {
      "href" : "...",
      "title" : "Indication that an entity can be created"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 28,
    "totalPages" : 2,
    "number" : 0
  }
}Delete stream
Deleting stream is a two step process a GET request to check the constraints followed by the DELETE request
Delete stream constraints
A GET request is used to get the constraints for deleting Stream.
$ curl 'http://api.example.com/streams/066f5944d16344f88c9214d240d139dc/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /streams/066f5944d16344f88c9214d240d139dc/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 80
{
  "canDelete" : false,
  "streamConfigsCount" : 6,
  "activeGrantsCount" : 3
}Delete stream
A DELETE request is used to delete a Stream.
$ curl 'http://api.example.com/streams/31105915be694c0d9dd2301ff54153f0' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /streams/31105915be694c0d9dd2301ff54153f0 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersStream browse config
A GET request is used to obtain the information required to query messages on a specific cluster.
| The UID present in the request path needs to be a valid Stream Configuid andNOTaStreamuid  !!! | 
$ curl 'http://api.example.com/streams/c082e097545948dcbd0cf993128d3fc2/browse-config?selectedCluster=Zone+1' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /streams/c082e097545948dcbd0cf993128d3fc2/browse-config?selectedCluster=Zone+1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2085
{
  "clusterDetails" : { },
  "tenant" : "tenanta",
  "instance" : "ota",
  "instanceCAs" : [ "-----BEGIN CERTIFICATE-----\nMIIFJjCCAw6gAwIBAgIJAINuAirfnRU6MA0GCSqGSIb3DQEBCwUAMCAxHjAcBgNV\nBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODAeFw0xODA1MjkxMDM0MTRaFw0zODA1\nMjQxMDM0MTRaMCAxHjAcBgNVBAMMFUF4dWFsIER1bW15IFJvb3QgMjAxODCCAiIw\nDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVDjbhq3TGuQ6INTZ+dhSIgsdbq\nw2nxF3myrS7v89bcNxMyLypWYTmR4OAYRXRBnW4KX6s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\nEWuurE605Nm//jv3Czdy8gEsMDtXLZYY0iqGnD11MAJFXyQ6PG2eq1cXcsJNRojm\n8D4ipfQ+z4bp9dDVR2DzVyTYe4yuhZuIe2phOhPc8KkBaXQRMHfVKyeEmzqEFLaM\nkfaDZkRsrMZSqh+KJoxDG3h8UqssChX+cuZdsjRhNWRqfbB20I9Upwa+XooyCU4E\nEkYyFTMchtvbYZEN/XvlPfhK5JB9eJ5rrcE8hKsP3gftchWWqCDedKugvZW/t5Vk\nlc+z4IjiJFnRDfcr4Z5V2Hpseyno3AEK7aUdJlmuPnxoImFXfQ4jUguM/wznJHl7\nXv9T0oaBVHM7Bd6PlES04Oho0KZXS6NryTsZn9GFV4qGZj5lEeOVl15AOfeIjP/I\nokA2uUH/ZuJlR/BEmqbLt5HWPRNT/GgLfPY=-----END CERTIFICATE-----\n" ],
  "stream" : "tenanta-stream1",
  "environment" : "tenantaenv1",
  "keyType" : "AVRO",
  "valueType" : "AVRO"
}StreamConfigs
A StreamConfig is a unique set of configurations of a Stream for an Environment.
The /stream_configs resource is used to create and list StreamConfigs.
StreamConfig Schema
The /stream_configs resource uses the following json-schema:
GET /profile/stream_configs HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1629
{
  "title" : "Stream config",
  "properties" : {
    "partitions" : {
      "title" : "Partitions",
      "readOnly" : false,
      "type" : "integer"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "environment" : {
      "title" : "Environment",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "stream" : {
      "title" : "Stream",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "valueSchemaVersion" : {
      "title" : "Value schema version",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "keySchemaVersion" : {
      "title" : "Key schema version",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "retentionTime" : {
      "title" : "Retention time",
      "readOnly" : false,
      "type" : "integer"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    },
    "properties" : {
      "title" : "Properties",
      "readOnly" : false,
      "type" : "object"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all stream configs
HTTP method GET is disabled for /stream_configs. Refer to search endpoints to find one or more
StreamConfig for a Stream or an Environment or both.
List all stream configs properties
The /stream_configs/properties method is used to retrieve all supported stream config properties.
The method returns an Array of all supported stream configs properties
$ curl 'http://api.example.com/stream_configs/properties' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /stream_configs/properties HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 150
[ "max.compaction.lag.ms", "message.timestamp.difference.max.ms", "message.timestamp.type", "min.compaction.lag.ms", "retention.bytes", "segment.ms" ]Starting with Platform Manager version 7.0.0 we are supporting external Kafka providers, to get the list of supported Kafka properties based on your provider, please provide your tenantId or environmentId as the request param.
$ curl 'http://api.example.com/stream_configs/properties?tenantId=1149c97f04c42had8d9c97faa5a375ac&environmentId=84d93e918d49430fbf1d8cc7494d24d4' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /stream_configs/properties?tenantId=1149c97f04c42had8d9c97faa5a375ac&environmentId=84d93e918d49430fbf1d8cc7494d24d4 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 547
[ "cleanup.policy", "compression.type", "delete.retention.ms", "file.delete.delay.ms", "flush.messages", "flush.ms", "index.interval.bytes", "max.compaction.lag.ms", "max.message.bytes", "message.downconversion.enable", "message.format.version", "message.timestamp.difference.max.ms", "message.timestamp.type", "min.cleanable.dirty.ratio", "min.compaction.lag.ms", "min.insync.replicas", "preallocate", "retention.bytes", "retention.ms", "segment.bytes", "segment.index.bytes", "segment.jitter.ms", "segment.ms", "unclean.leader.election.enable" ]Unsupported stream config properties
When creating a stream-config you can pass kafka properties to fine-tuning your use case.
We do not support all kafka properties available for a TopicConfig, in case you are passing an unsupported kafka property we return an error.
Curl request
$ curl 'http://api.example.com/stream_configs' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "stream" : "http://api.example.com/streams/a532f500d879419fff5efa5d3cada7b3",
  "environment" : "http://api.example.com/environments/e11ee2dd976647109ca904dd8adc050f",
  "properties" : {
    "cleanup.policy" : "COMPACT",
    "follower.replication.throttled.replicas" : "",
    "leader.replication.throttled.replicas" : "",
    "max.message.bytes" : 1048588,
    "message.format.version" : "2.6-IV0",
    "preallocate" : "false"
  }
}'HTTP request
POST /stream_configs HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 437
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "stream" : "http://api.example.com/streams/a532f500d879419fff5efa5d3cada7b3",
  "environment" : "http://api.example.com/environments/e11ee2dd976647109ca904dd8adc050f",
  "properties" : {
    "cleanup.policy" : "COMPACT",
    "follower.replication.throttled.replicas" : "",
    "leader.replication.throttled.replicas" : "",
    "max.message.bytes" : 1048588,
    "message.format.version" : "2.6-IV0",
    "preallocate" : "false"
  }
}HTTP response
HTTP/1.1 400 Bad Request
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 854
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "errmsg.notSupportedProperty.StreamConfig.propertieserrmsg.notSupportedProperty.propertieserrmsg.notSupportedProperty.java.util.MapFound an unsupported property." ],
  "subErrors" : [ {
    "field" : "StreamConfig.properties",
    "rejectedValue" : {
      "cleanup.policy" : "COMPACT",
      "follower.replication.throttled.replicas" : "",
      "leader.replication.throttled.replicas" : "",
      "max.message.bytes" : "1048588",
      "message.format.version" : "2.6-IV0",
      "preallocate" : "false",
      "segment.ms" : "172800000"
    },
    "recommendedValues" : null,
    "errors" : [ "errmsg.notSupportedProperty.StreamConfig.properties", "errmsg.notSupportedProperty.properties", "errmsg.notSupportedProperty.java.util.Map", "Found an unsupported property." ]
  } ]
}Create stream config endpoints
Creating stream config is a two-step process a GET request to check the constraints followed by the CREATE request
Create stream config constraints
A GET request is used to get the constraints for creating StreamConfig.
$ curl 'http://api.example.com/streams/066f5944d16344f88c9214d240d139dc/create-constraints?envShortName=tenantaenv1' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /streams/066f5944d16344f88c9214d240d139dc/create-constraints?envShortName=tenantaenv1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 45
{
  "canCreate" : true,
  "waitTill" : null
}Create stream config
A POST request is used to create a new StreamConfig. The request should include reference to
a valid existing stream, key schema version and value schema version. The schema version should be
of the same schema that is being used by the stream.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| retentionTime | Number | The time in milliseconds after which the messages can be deleted from all streams. This is an optional field. If not specified, default value is 7 days (604800000). | Must be at least 1000. Must be at most 160704000000 | 
| partitions | Number | Defines the number of partitions configured for every stream of this tenant. This is an optional field. If not specified, default value is 12. | Must be at least 1. Must be at most 120000 | 
| stream | String | A valid URI of an existing stream. | Must not be null | 
| environment | String | A valid URI of an existing environment. | Must not be null | 
| keySchemaVersion | String | A valid URI of an existing schema version. | |
| valueSchemaVersion | String | A valid URI of an existing schema version | |
| properties | Object | A list of Kafka specific properties in Key,Value format. | 
Curl request
$ curl 'http://api.example.com/stream_configs' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "retentionTime" : 10000,
  "partitions" : 12,
  "stream" : "http://api.example.com/streams/a549f500d879419c9f5efa5d3cada7b3",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "keySchemaVersion" : "http://api.example.com/schema_versions/5162f72742cd4c6db07b9a71a825fe4f",
  "valueSchemaVersion" : "http://api.example.com/schema_versions/0aa818df699847d08c24f75a4a7399ed",
  "properties" : {
    "max.compaction.lag.ms" : "60000"
  }
}'HTTP request
POST /stream_configs HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 480
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "retentionTime" : 10000,
  "partitions" : 12,
  "stream" : "http://api.example.com/streams/a549f500d879419c9f5efa5d3cada7b3",
  "environment" : "http://api.example.com/environments/047ab08009fe4da8be6905b55552ab52",
  "keySchemaVersion" : "http://api.example.com/schema_versions/5162f72742cd4c6db07b9a71a825fe4f",
  "valueSchemaVersion" : "http://api.example.com/schema_versions/0aa818df699847d08c24f75a4a7399ed",
  "properties" : {
    "max.compaction.lag.ms" : "60000"
  }
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:32:01 GMT
Location: http://api.example.com/stream_configs/b75c8858851b43899ae61f78de772a69
Content-Type: application/hal+json
Content-Length: 4427
{
  "properties" : {
    "max.compaction.lag.ms" : "60000",
    "segment.ms" : "172800000"
  },
  "retentionTime" : 10000,
  "partitions" : 12,
  "uid" : "b75c8858851b43899ae61f78de772a69",
  "created_at" : "2023-10-09T09:32:01.604658081",
  "modified_at" : "2023-10-09T09:32:01.604658081",
  "created_by" : "streamowner@tenanta.nl",
  "modified_by" : "streamowner@tenanta.nl",
  "_embedded" : {
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream2",
      "owners" : {
        "name" : "Stream-tenAApplication2",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "88eb98e0eff34fde923c15687e6d75d5",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : {
        "level" : "L2",
        "description" : "This is level 2",
        "color" : "yellow",
        "uid" : "247ab03ffafe4da2bet905b5e352ab53",
        "created_at" : "2019-06-08T23:16:23",
        "modified_at" : "2019-06-08T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "confidentiality" : {
        "level" : "L2",
        "description" : "L2 confidentiality",
        "color" : "blue",
        "uid" : "648ab08009fe4da8be6905b55552ac43",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : "2018-06-07T23:16:23",
        "created_by" : null,
        "modified_by" : null
      },
      "description" : "description",
      "uid" : "a549f500d879419c9f5efa5d3cada7b3",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "streamConfig" : {
      "href" : "...",
      "title" : "A configuration of a stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "keySchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for key"
    },
    "valueSchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for value"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    }
  }
}Retrieve a stream config
The stream_configs/{id} resource is used to retrieve, update and delete individual stream config.
A GET request will retrieve the details of a StreamConfig.
HTTP request
GET /stream_configs/c082e097545948dcbd0cf993128d3fc2 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 3734
{
  "properties" : {
    "segment.ms" : "696969"
  },
  "retentionTime" : 10000,
  "partitions" : 12,
  "uid" : "c082e097545948dcbd0cf993128d3fc2",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "streamConfig" : {
      "href" : "...",
      "title" : "A configuration of a stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "keySchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for key"
    },
    "valueSchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for value"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    }
  }
}Links
| Relation | Description | 
|---|---|
| 
 | Existence of this link indicates that the currently authenticated user can edit this StreamConfig | 
| 
 | Existence of this link indicates that the currently authenticated user can delete this StreamConfig | 
Update a stream config
A PATCH request is used to update a stream config. In the request, pass only the field that needs changing.
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "retentionTime" : 40000
}'PATCH /stream_configs/c082e097545948dcbd0cf993128d3fc2 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 29
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "retentionTime" : 40000
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 3734
{
  "properties" : {
    "segment.ms" : "696969"
  },
  "retentionTime" : 40000,
  "partitions" : 12,
  "uid" : "c082e097545948dcbd0cf993128d3fc2",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "streamConfig" : {
      "href" : "...",
      "title" : "A configuration of a stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "keySchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for key"
    },
    "valueSchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for value"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    }
  }
}Force a stream config
When you want to update a stream config with an incompatible schema change you need to force it.
A PATCH request is used to force a stream config. In the request, pass only the field that needs changing and the field force=true.
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "keySchemaVersion" : "http://api.example.com/schema_versions/5322f72742cd4c6db07b9a71a825fe4f",
  "force" : true
}'PATCH /stream_configs/c082e097545948dcbd0cf993128d3fc2 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 118
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "keySchemaVersion" : "http://api.example.com/schema_versions/5322f72742cd4c6db07b9a71a825fe4f",
  "force" : true
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 3734
{
  "properties" : {
    "segment.ms" : "696969"
  },
  "retentionTime" : 10000,
  "partitions" : 12,
  "uid" : "c082e097545948dcbd0cf993128d3fc2",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_embedded" : {
    "environment" : {
      "name" : "tenantaenv1",
      "shortName" : "tenantaenv1",
      "visibility" : "public",
      "color" : "#80affe",
      "description" : "environment",
      "uid" : "047ab08009fe4da8be6905b55552ab52",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "instance" : {
          "href" : "...",
          "templated" : true,
          "title" : "An instance"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    },
    "stream" : {
      "name" : "tenanta-stream1",
      "owners" : {
        "name" : "Stream-tenAApplication1",
        "emailAddress" : null,
        "phoneNumber" : null,
        "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
        "created_at" : "2018-06-07T23:16:23",
        "modified_at" : null,
        "created_by" : null,
        "modified_by" : null
      },
      "retentionPolicy" : "delete",
      "integrity" : null,
      "confidentiality" : null,
      "description" : "description_tenanta-stream1",
      "uid" : "066f5944d16344f88c9214d240d139dc",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "strauthor@tenanta.nl",
      "modified_by" : "strauthor@tenanta.nl",
      "_links" : {
        "keySchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for key"
        },
        "integrity" : {
          "href" : "...",
          "templated" : true,
          "title" : "The integrity configured for the object"
        },
        "confidentiality" : {
          "href" : "...",
          "templated" : true,
          "title" : "The confidentiality configured for the object"
        },
        "valueSchema" : {
          "href" : "...",
          "templated" : true,
          "title" : "The AVRO schema configured for value"
        },
        "owners" : {
          "href" : "...",
          "templated" : true,
          "title" : "The group responsible for this object"
        },
        "self" : {
          "href" : "...",
          "templated" : true,
          "title" : "URI pointing to current request"
        }
      }
    }
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "streamConfig" : {
      "href" : "...",
      "title" : "A configuration of a stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    },
    "environment" : {
      "href" : "...",
      "templated" : true,
      "title" : "An environment"
    },
    "keySchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for key"
    },
    "valueSchemaVersion" : {
      "href" : "...",
      "templated" : true,
      "title" : "A version of an AVRO schema configured for value"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    }
  }
}Delete stream config endpoints
Deleting stream config is a two step process a GET request to check the constraints followed by the DELETE request
Delete stream config constraints
A GET request is used to get the constraints for deleting StreamConfig.
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2/deletion-constraints' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'GET /stream_configs/c082e097545948dcbd0cf993128d3fc2/deletion-constraints HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 51
{
  "activeGrantsCount" : 0,
  "canDelete" : true
}Delete stream config
A DELETE request is used to delete a stream config.
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'DELETE /stream_configs/c082e097545948dcbd0cf993128d3fc2 HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-HeadersStreamConfig search endpoints
/stream_configs/search/findByStream
Returns all stream configs for given Stream.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Stream | 
GET /stream_configs/search/findByStream?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 25799
{
  "_embedded" : {
    "stream_configs" : [ {
      "properties" : { },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "1e9ee6ce053c46b0932358c8503a2686",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv2",
          "shortName" : "tenantaenv2",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "e11ee2dd976647109ca904dd8adc050f",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    }, {
      "properties" : { },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "2f9ee6ce053c46b0932358c8503a2697",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaprivenv3",
          "shortName" : "tenantaprivenv3",
          "visibility" : "private",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "72c1b34b0c6744dcadb85f4c188518f6",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    }, {
      "properties" : { },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "b842e097545948dcbd0cf993128d3fc2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv7_with_app_access_only",
          "shortName" : "tenantaenv7",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_access configured",
          "uid" : "48dd87236ec445138330adb1a8a79f7e",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    }, {
      "properties" : {
        "segment.ms" : "696969"
      },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "c082e097545948dcbd0cf993128d3fc2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    }, {
      "properties" : { },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "eab92b9s6c4c44b49be1a9fe28ca7463",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv9_with_app_principal_and_credential",
          "shortName" : "tenantapublicenv9",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with app access and grant configured",
          "uid" : "73f73e918d49430fbf1d8cc7494d24d4",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    }, {
      "properties" : { },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "eab92b9s6c4c44b49be1a9fe28cs67gh",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv6_with_app_principal",
          "shortName" : "tenantaenv6",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment with just app_principal configured",
          "uid" : "e26e0006c5504351a58e3181066cf56a",
          "created_at" : "2021-06-07T23:16:23",
          "modified_at" : "2021-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/stream_configs/search/findByEnvironment
Returns configurations of all available streams for given Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Environment | 
GET /stream_configs/search/findByEnvironment?environment=http%3A%2F%2Flocalhost%2Fenvironments%2F156ab08009fe4da96e6905b55552ab63 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 165
{
  "_embedded" : {
    "stream_configs" : [ ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}/stream_configs/search/findByStreamAndEnvironment
Returns the configuration of the given Stream for given Environment.
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Stream | 
| 
 | A valid URI of an existing Environment | 
GET /stream_configs/search/findByStreamAndEnvironment?stream=http%3A%2F%2Flocalhost%2Fstreams%2F066f5944d16344f88c9214d240d139dc&environment=http%3A%2F%2Flocalhost%2Fenvironments%2F047ab08009fe4da8be6905b55552ab52 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 4519
{
  "_embedded" : {
    "stream_configs" : [ {
      "properties" : {
        "segment.ms" : "696969"
      },
      "retentionTime" : 10000,
      "partitions" : 12,
      "uid" : "c082e097545948dcbd0cf993128d3fc2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "environment" : {
          "name" : "tenantaenv1",
          "shortName" : "tenantaenv1",
          "visibility" : "public",
          "color" : "#80affe",
          "description" : "environment",
          "uid" : "047ab08009fe4da8be6905b55552ab52",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "instance" : {
              "href" : "...",
              "templated" : true,
              "title" : "An instance"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        },
        "stream" : {
          "name" : "tenanta-stream1",
          "owners" : {
            "name" : "Stream-tenAApplication1",
            "emailAddress" : null,
            "phoneNumber" : null,
            "uid" : "2d8e99afd6e047f69c9595b4f2525fa6",
            "created_at" : "2018-06-07T23:16:23",
            "modified_at" : null,
            "created_by" : null,
            "modified_by" : null
          },
          "retentionPolicy" : "delete",
          "integrity" : null,
          "confidentiality" : null,
          "description" : "description_tenanta-stream1",
          "uid" : "066f5944d16344f88c9214d240d139dc",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : "strauthor@tenanta.nl",
          "modified_by" : "strauthor@tenanta.nl",
          "_links" : {
            "keySchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for key"
            },
            "integrity" : {
              "href" : "...",
              "templated" : true,
              "title" : "The integrity configured for the object"
            },
            "confidentiality" : {
              "href" : "...",
              "templated" : true,
              "title" : "The confidentiality configured for the object"
            },
            "valueSchema" : {
              "href" : "...",
              "templated" : true,
              "title" : "The AVRO schema configured for value"
            },
            "owners" : {
              "href" : "...",
              "templated" : true,
              "title" : "The group responsible for this object"
            },
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "streamConfig" : {
          "href" : "...",
          "title" : "A configuration of a stream"
        },
        "edit" : {
          "href" : "...",
          "title" : "Indication that this entity can be edited"
        },
        "delete" : {
          "href" : "...",
          "title" : "Indication that this entity can be deleted"
        },
        "environment" : {
          "href" : "...",
          "templated" : true,
          "title" : "An environment"
        },
        "keySchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for key"
        },
        "valueSchemaVersion" : {
          "href" : "...",
          "templated" : true,
          "title" : "A version of an AVRO schema configured for value"
        },
        "stream" : {
          "href" : "...",
          "templated" : true,
          "title" : "A stream"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "createStreamConfig" : {
      "href" : "...",
      "templated" : true
    }
  }
}StreamConfig Browse Permission Group
Grant browse permission to users
A POST request is used to grant browse permission to users. The users added to a stream’s
permission group will get access to browse the given stream anymore.
This request is only allowed to Stream Owner of the stream.
Curl request
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "type" : "browse",
  "users" : [ "dc67596abe224691a363a230ca1e291e" ]
}'HTTP request
POST /stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 75
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "type" : "browse",
  "users" : [ "dc67596abe224691a363a230ca1e291e" ]
}HTTP response
HTTP/1.1 204 No ContentAttempting to grant browse permission for an Instance with granularBrowsePermissions=false
In case the Instance used by the Stream-Config has granularBrowsePermissions=false,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 158
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Granular Browse Permission is disabled for this instance" ],
  "subErrors" : null
}Attempting to grant browse permission for a PRIVATE or AUTO environment
In case the Environment used by the Stream-Config has visibility=PRIVATE or authorizationIssuer=AUTO,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 234
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Permission groups are only supported for public environments or environments with the authorization issuer set to ‘stream owner’" ],
  "subErrors" : null
}Attempting to grant not-browse permission
In case the type of the grant present in the request is not browse,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 145
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Unsupported permission group type specified" ],
  "subErrors" : null
}Attempting to grant browse permission for self
In case the users present in the request contains the stream owner requesting the grant,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 155
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Logged in user can not be added to a permission group" ],
  "subErrors" : null
}Attempting to grant browse permission for invalid users
In case the users present in the request are not valid, we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 129
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Non existing user specified" ],
  "subErrors" : null
}Revoke browse permission to users
A DELETE request is used to revoke browse permission to users. The users revoked from a stream’s
permission group won’t get access to browse the given stream anymore.
This request is only allowed to Stream Owner of the stream.
Curl request
$ curl 'http://api.example.com/stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions' -i -X DELETE \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "type" : "browse",
  "users" : [ "dc67596abe224691a363a230ca1e291e" ]
}'HTTP request
DELETE /stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 75
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "type" : "browse",
  "users" : [ "dc67596abe224691a363a230ca1e291e" ]
}HTTP response
HTTP/1.1 204 No ContentAttempting to revoke browse permission for an Instance with granularBrowsePermissions=false
In case the Instance used by the Stream-Config has granularBrowsePermissions=false,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 158
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Granular Browse Permission is disabled for this instance" ],
  "subErrors" : null
}Attempting to revoke browse permission for a PRIVATE or AUTO environment
In case the Environment used by the Stream-Config has visibility=PRIVATE or authorizationIssuer=AUTO,
we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 234
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Permission groups are only supported for public environments or environments with the authorization issuer set to ‘stream owner’" ],
  "subErrors" : null
}Attempting to revoke browse permission for invalid users
In case the users present in the request are not valid, we return 400 Bad Request
HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/hal+json
Content-Length: 129
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Non existing user specified" ],
  "subErrors" : null
}Get users from permission group
A GET request is used only by STREAM_OWNERS to get users from permission group.
HTTP request
GET /stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions?type=BROWSE HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 435
[ {
  "uid" : "ea0e7f147df84179a151bdc21f5bb813",
  "middleName" : "middleName",
  "phoneNumber" : null,
  "firstName" : "tenAdmin",
  "emailAddress" : {
    "email" : "tenadmin@tenanta.nl"
  },
  "lastName" : "TenantA"
}, {
  "uid" : "dc67596abe224691a363a230ca1e291e",
  "middleName" : null,
  "phoneNumber" : null,
  "firstName" : "regular",
  "emailAddress" : {
    "email" : "regularuser@tenanta.nl"
  },
  "lastName" : "user"
} ]Attempting to get browse permission users with invalid type
In case the type of the grant present in the request is not browse,
we return 400 Bad Request
HTTP request
GET /stream_configs/c082e097545948dcbd0cf993128d3fc2/permissions?type=xxx HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 145
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Unsupported permission group type specified" ],
  "subErrors" : null
}Attempting to get browse permission users for an Instance with granularBrowsePermissions=false
In case the Instance used by the Stream-Config has granularBrowsePermissions=false,
we return 400 Bad Request
HTTP request
GET /stream_configs/3f9ee6ce053c46b0932358c8503a2687/permissions?type=BROWSE HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 158
{
  "status" : "BAD_REQUEST",
  "message" : "Bad request",
  "errors" : [ "Granular Browse Permission is disabled for this instance" ],
  "subErrors" : null
}Import Kafka Topics into Self-Service
The endpoint /changes/streams is used to list kafka topics that are not available in Self-Service but are present in the Kafka cluster, so that user can import them to use Self-Service features.
Any authenticated user with role TENANT_ADMIN is allowed to perform this action on its own tenant.
List All Missing Kafka Topics
A GET request will list all the missing Kafka topics in Self-Service.
| The string is representing the stream-namewithout any topic-pattern resolution. | 
Curl request
$ curl 'http://api.example.com/changes/streams' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenantb'HTTP request
GET /changes/streams HTTP/1.1
Authorization: Bearer token
realm: tenantb
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 40
[ "tenantb-stream2", "tenantb-stream3" ]Get Kafka Topics Details
A GET request will show the details of a missing Kafka topic (configuration, number of partitions, ACLs).
| The input string is representing the stream-namewithout any topic-pattern resolution. Thenameis representing thestream-namewith the topic-pattern resolution. | 
Curl request
$ curl 'http://api.example.com/changes/streams/tenantb-stream2?environment=tenantbenv1' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenantb'HTTP request
GET /changes/streams/tenantb-stream2?environment=tenantbenv1 HTTP/1.1
Authorization: Bearer token
realm: tenantb
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1632
{
  "name" : "tenantb-tenantbenv1-tenantb-stream3",
  "config" : {
    "cleanup.policy" : "delete",
    "min.insync.replicas" : "1",
    "retention.ms" : "86400000",
    "segment.ms" : "60000",
    "max.compaction.lag.ms" : "60000"
  },
  "size" : 0,
  "partitions" : [ {
    "partition" : 0,
    "begin" : 25,
    "end" : 25,
    "size" : 0,
    "replicas" : [ 0 ],
    "isr" : [ 0 ]
  }, {
    "partition" : 1,
    "begin" : 40,
    "end" : 40,
    "size" : 0,
    "replicas" : [ 0 ],
    "isr" : [ 0 ]
  } ],
  "acls" : [ {
    "principal" : {
      "type" : "User",
      "name" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01, [2] CN=Example Producer,O=Axual B.V.,L=Utrecht,C=NL"
    },
    "permissionType" : "ALLOW",
    "host" : "*",
    "operation" : "WRITE"
  }, {
    "principal" : {
      "type" : "User",
      "name" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01, [2] CN=Example Producer,O=Axual B.V.,L=Utrecht,C=NL"
    },
    "permissionType" : "ALLOW",
    "host" : "*",
    "operation" : "READ"
  }, {
    "principal" : {
      "type" : "User",
      "name" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01, [2] CN=Example Producer,O=Axual B.V.,L=Utrecht,C=NL"
    },
    "permissionType" : "ALLOW",
    "host" : "*",
    "operation" : "DESCRIBE_CONFIGS"
  }, {
    "principal" : {
      "type" : "User",
      "name" : "[0] CN=Axual Dummy Root 2018, [1] CN=Axual Dummy Intermediate 2018 01, [2] CN=Example Producer,O=Axual B.V.,L=Utrecht,C=NL"
    },
    "permissionType" : "ALLOW",
    "host" : "*",
    "operation" : "DESCRIBE"
  } ]
}Import a Missing Kafka Topic
A POST request is used to import an existing Kafka topic into Self-Service.
Currently, we are only supporting importing STRING/STRING topics; this means the imported stream resource will have keyType=STRING and valueType=STRING.
| The input string is representing the stream-namewithout any topic-pattern resolution. | 
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| environmentShortName | String | A short name identifying an existing environment | |
| ownerName | String | A name identifying an existing group | 
Curl request
$ curl 'http://api.example.com/changes/streams/tenantb-stream2' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenantb' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "environmentShortName" : "tenantbenv1",
  "ownerName" : "Scout XXX"
}'HTTP request
POST /changes/streams/tenantb-stream2 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenantb
Content-Length: 73
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "environmentShortName" : "tenantbenv1",
  "ownerName" : "Scout XXX"
}HTTP response
HTTP/1.1 201 Created
Location: http://api.example.com/stream_configs/4c72aa9b551841ac952eb79dcdad161b
Content-Type: application/hal+json
Content-Length: 793
{
  "properties" : {
    "max.compaction.lag.ms" : "60000",
    "segment.ms" : "60000"
  },
  "retentionTime" : 86400000,
  "partitions" : 2,
  "uid" : "4c72aa9b551841ac952eb79dcdad161b",
  "created_at" : "2023-10-09T09:32:05.847376579",
  "modified_at" : "2023-10-09T09:32:05.847376579",
  "created_by" : "tenadmin@tenantb.nl",
  "modified_by" : "tenadmin@tenantb.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "stream" : {
      "href" : "...",
      "templated" : true,
      "title" : "A stream"
    },
    "edit" : {
      "href" : "...",
      "title" : "Indication that this entity can be edited"
    },
    "delete" : {
      "href" : "...",
      "title" : "Indication that this entity can be deleted"
    }
  }
}Attempting to import not a missing Kafka Topic
In case the stream-name used in the request path is resolving to an existing stream-config, we return 400 Bad Request
Curl request
$ curl 'http://api.example.com/changes/streams/tenantb-stream1' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenantb' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "environmentShortName" : "tenantbenv1",
  "ownerName" : "Scout XXX"
}'HTTP request
POST /changes/streams/tenantb-stream1 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenantb
Content-Length: 73
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "environmentShortName" : "tenantbenv1",
  "ownerName" : "Scout XXX"
}HTTP response
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 207
{
  "status" : "BAD_REQUEST",
  "message" : "Provided stream-name is not missing from the Self-Service.",
  "errors" : [ "Provided stream-name is not missing from the Self-Service." ],
  "subErrors" : null
}Schemas
A Schema is an AVRO definition formatted in JSON. Schemas are used by Streams of data type AVRO.
The schemas resource is used to create and list Schemas.
JSON Schema
The schemas resource uses the following json-schema:
GET /profile/schemas HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 941
{
  "title" : "Schema",
  "properties" : {
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "name" : {
      "title" : "Name",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "description" : {
      "title" : "Description",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all schemas
A GET request will list all the Schemas visible to the currently logged in user.
Curl request
$ curl 'http://api.example.com/schemas' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /schemas HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 4742
{
  "_embedded" : {
    "schemas" : [ {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "io.axual.qa.general.Random",
      "description" : "Demo schema",
      "uid" : "858d48056942069a916a8053e138s2e4",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema1",
      "description" : "",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema2",
      "description" : "",
      "uid" : "a32ead9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema3",
      "description" : "Tenanta schema 3",
      "uid" : "b58073b2caeb4474aa3c6e8c269d919e",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema2",
      "description" : "",
      "uid" : "dae551f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema-without-version",
      "description" : "",
      "uid" : "e23dad9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema-without-version",
      "description" : "",
      "uid" : "pay651f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 8,
    "totalPages" : 1,
    "number" : 0
  }
}List all schema names only
Sometimes, fetching the schema names might be sufficient instead of fetching the complete object.
For e.g. in displaying drop-down forms. To get schema names only, use the same GET call as above
but add a parameter projection with value names.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | There is only 1 valid value:  | 
Curl request
$ curl 'http://api.example.com/schemas?projection=names' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /schemas?projection=names HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 4507
{
  "_embedded" : {
    "schemas" : [ {
      "name" : "nl.tenanta.key-schema1",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "io.axual.qa.general.Random",
      "uid" : "858d48056942069a916a8053e138s2e4",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema1",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema2",
      "uid" : "a32ead9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema3",
      "uid" : "b58073b2caeb4474aa3c6e8c269d919e",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema2",
      "uid" : "dae551f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema-without-version",
      "uid" : "e23dad9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema-without-version",
      "uid" : "pay651f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 8,
    "totalPages" : 1,
    "number" : 0
  }
}List all schemas with the latest schema versions
A GET request will list all schemas with the latest schema versions for every schema visible to the currently logged in user.
Curl request
$ curl 'http://api.example.com/schemas/getAllWithLatestSchemaVersion' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /schemas/getAllWithLatestSchemaVersion HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3233
[ {
  "schemaUid" : "4edccfd6aa744e698542da36f1f01114",
  "schemaName" : "nl.tenanta.key-schema1",
  "latestSchemaVersionUid" : "5322f72742cd4c6db07b9a71a825fe4f",
  "latestSchemaVersion" : "v2.1",
  "latestSchemaVersionBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"keyName\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
  "latestSchemaVersionCreatedAt" : "2018-06-07T23:16:23",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
}, {
  "schemaUid" : "858d48056942069a916a8053e138s2e4",
  "schemaName" : "io.axual.qa.general.Random",
  "latestSchemaVersionUid" : "858d48056942069b916a8053e138s2f6",
  "latestSchemaVersion" : "0.0.1",
  "latestSchemaVersionBody" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The random value.\"}]}",
  "latestSchemaVersionCreatedAt" : "2018-09-20T00:00:00",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
}, {
  "schemaUid" : "8bc19be0c9cd4da296acd78e6022edf1",
  "schemaName" : "nl.tenanta.value-schema1",
  "latestSchemaVersionUid" : "c434a9d3b4db4fa0861965246be645a2",
  "latestSchemaVersion" : "v2.1",
  "latestSchemaVersionBody" : "{\"type\":\"record\",\"name\":\"Value\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Value.\",\"fields\":[{\"name\":\"valueName\",\"type\":\"string\",\"doc\":\"The Value.\"}]}",
  "latestSchemaVersionCreatedAt" : "2018-06-07T23:16:23",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
}, {
  "schemaUid" : "a32ead9183734d838e32c8454af9f3f5",
  "schemaName" : "nl.tenanta.key-schema2",
  "latestSchemaVersionUid" : "5162f72742cd4c6db07b9a71a825fe4f",
  "latestSchemaVersion" : "v1",
  "latestSchemaVersionBody" : "schemaBody",
  "latestSchemaVersionCreatedAt" : "2018-06-07T23:16:23",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
}, {
  "schemaUid" : "b58073b2caeb4474aa3c6e8c269d919e",
  "schemaName" : "nl.tenanta.key-schema3",
  "latestSchemaVersionUid" : "1b6f4c0e1aa74c7c874074c4852c9123",
  "latestSchemaVersion" : "0.0.2",
  "latestSchemaVersionBody" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The random value.\"}]}",
  "latestSchemaVersionCreatedAt" : "2018-09-20T00:00:00",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
}, {
  "schemaUid" : "dae551f956af48c1baa53281b5edca00",
  "schemaName" : "nl.tenanta.value-schema2",
  "latestSchemaVersionUid" : "0aa818df699847d08c24f75a4a7399ed",
  "latestSchemaVersion" : "v1",
  "latestSchemaVersionBody" : "schemaBody1",
  "latestSchemaVersionCreatedAt" : "2018-06-07T23:16:23",
  "latestSchemaVersionCreatedByFullName" : "tenAdmin middleName TenantA"
} ]List all schema versions of a schema
A GET request will list all schema versions of a schema visible to the currently logged-in user.
Curl request
$ curl 'http://api.example.com/schemas/4edccfd6aa744e698542da36f1f01114/schema-versions' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /schemas/4edccfd6aa744e698542da36f1f01114/schema-versions HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 363
[ {
  "schemaVersion" : "v2.1",
  "schemaVersionUid" : "5322f72742cd4c6db07b9a71a825fe4f"
}, {
  "schemaVersion" : "v2",
  "schemaVersionUid" : "b5c0a6b2fdd94d64925fd2fadb367f2d"
}, {
  "schemaVersion" : "v1.02",
  "schemaVersionUid" : "b5c0a6b2fdd94d64925fd2fadb367892"
}, {
  "schemaVersion" : "v1",
  "schemaVersionUid" : "b5c0a6b2fdd94d64925fd2fadb367891"
} ]Create schema
A POST request is used to create a new schema. To create a new AVRO definition, refer to SchemaVersion.
Request fields
| Path | Type | Description | Constraints | 
|---|---|---|---|
| name | String | A fully qualified Java classname of the Schema | Must match the regular expression  | 
| description | String | A short text describing the Schema | Size must be between 0 and 500 inclusive | 
Curl request
$ curl 'http://api.example.com/schemas' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "name" : "io.axual.aeb.test.Schema",
  "description" : "This is a test schema"
}'HTTP request
POST /schemas HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 84
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "name" : "io.axual.aeb.test.Schema",
  "description" : "This is a test schema"
}HTTP response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Mon, 09 Oct 2023 09:25:31 GMT
Location: http://api.example.com/schemas/940b52dbcc2c46e79e57c03f46ec879e
Content-Type: application/hal+json
Content-Length: 524
{
  "name" : "io.axual.aeb.test.Schema",
  "description" : "This is a test schema",
  "uid" : "940b52dbcc2c46e79e57c03f46ec879e",
  "created_at" : "2023-10-09T09:25:31.96083085",
  "modified_at" : "2023-10-09T09:25:31.96083085",
  "created_by" : "poweruser@tenanta.nl",
  "modified_by" : "poweruser@tenanta.nl",
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "schema" : {
      "href" : "...",
      "templated" : true,
      "title" : "A schema"
    }
  }
}Retrieve a schema
The schemas/{id} resource is used to retrieve, update and delete individual schemas.
A GET request will retrieve the details of a schema.
HTTP request
GET /schemas/4edccfd6aa744e698542da36f1f01114 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
ETag: "0"
Content-Type: application/hal+json
Content-Length: 447
{
  "name" : "nl.tenanta.key-schema1",
  "description" : "",
  "uid" : "4edccfd6aa744e698542da36f1f01114",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "schema" : {
      "href" : "...",
      "templated" : true,
      "title" : "A schema"
    }
  }
}Update a schema
A PATCH request is used to update a schema. In the request, pass only the field that needs changing.
$ curl 'http://api.example.com/schemas/4edccfd6aa744e698542da36f1f01114' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "description" : "Updated description."
}'PATCH /schemas/4edccfd6aa744e698542da36f1f01114 HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Content-Length: 44
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "description" : "Updated description."
}HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
ETag: "0"
Last-Modified: Thu, 07 Jun 2018 23:16:23 GMT
Content-Type: application/hal+json
Content-Length: 467
{
  "name" : "nl.tenanta.key-schema1",
  "description" : "Updated description.",
  "uid" : "4edccfd6aa744e698542da36f1f01114",
  "created_at" : "2018-06-07T23:16:23",
  "modified_at" : "2018-06-07T23:16:23",
  "created_by" : null,
  "modified_by" : null,
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "schema" : {
      "href" : "...",
      "templated" : true,
      "title" : "A schema"
    }
  }
}Schema search endpoints
/schemas/search/findByName
Search for a schema by exact name.
| Parameter | Description | 
|---|---|
| 
 | Schema name to search for. | 
GET /schemas/search/findByName?name=nl.tenanta.key-schema1 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 781
{
  "_embedded" : {
    "schemas" : [ {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}/schemas/search/findByNameContaining
Search for a schema by name containing search term.
| Parameter | Description | 
|---|---|
| 
 | Term to search within schema name. | 
GET /schemas/search/findByNameContaining?name=tenanta HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 3983
{
  "_embedded" : {
    "schemas" : [ {
      "name" : "nl.tenanta.key-schema1",
      "description" : "",
      "uid" : "4edccfd6aa744e698542da36f1f01114",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema1",
      "description" : "",
      "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema2",
      "description" : "",
      "uid" : "a32ead9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema3",
      "description" : "Tenanta schema 3",
      "uid" : "b58073b2caeb4474aa3c6e8c269d919e",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema2",
      "description" : "",
      "uid" : "dae551f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.key-schema-without-version",
      "description" : "",
      "uid" : "e23dad9183734d838e32c8454af9f3f5",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "name" : "nl.tenanta.value-schema-without-version",
      "description" : "",
      "uid" : "pay651f956af48c1baa53281b5edca00",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 7,
    "totalPages" : 1,
    "number" : 0
  }
}Upload schemas
Uploading a new schema for your tenant is a 2 steps process where first we verify if the schema is valid and does not exist yet. Then upload the schema.
Check a schema (Deprecated)
A POST request is used to check a schema.
Curl request
$ curl 'http://api.example.com/schemas/check' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}"
}'HTTP request
POST /schemas/check HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 306
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}"
}HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 441
{
  "versions" : [ "0.0.1" ],
  "fullName" : "io.axual.qa.general.Random",
  "schema" : "{\n  \"type\" : \"record\",\n  \"name\" : \"Random\",\n  \"namespace\" : \"io.axual.qa.general\",\n  \"doc\" : \"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\n  \"fields\" : [ {\n    \"name\" : \"random\",\n    \"type\" : \"string\",\n    \"doc\" : \"The Random value.\"\n  } ]\n}"
}Check and Parse a schema
A POST request is used to check and parse a schema, it will return the parsed Schema as string.
Curl request
$ curl 'http://api.example.com/schemas/check-parse' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}"
}'HTTP request
POST /schemas/check-parse HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 306
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}"
}HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 441
{
  "versions" : [ "0.0.1" ],
  "fullName" : "io.axual.qa.general.Random",
  "schema" : "{\n  \"type\" : \"record\",\n  \"name\" : \"Random\",\n  \"namespace\" : \"io.axual.qa.general\",\n  \"doc\" : \"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\n  \"fields\" : [ {\n    \"name\" : \"random\",\n    \"type\" : \"string\",\n    \"doc\" : \"The Random value.\"\n  } ]\n}"
}Upload a schema
A POST request is used to upload a schema.
Curl request
$ curl 'http://api.example.com/schemas/upload' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN' \
    -d '{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}",
  "version" : "2",
  "description" : "description"
}'HTTP request
POST /schemas/upload HTTP/1.1
Content-Type: application/json
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Content-Length: 358
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKEN
{
  "schema" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The Random value.\"}]}",
  "version" : "2",
  "description" : "description"
}HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 177
{
  "schemaUid" : "858d48056942069a916a8053e138s2e4",
  "schemaVersionUid" : "3a49b0c11643457a8b36423320b679ed",
  "fullName" : "io.axual.qa.general.Random",
  "version" : "2"
}Schema Version
A Schema is an AVRO definition formatted in JSON. Schemas are used by Streams of data type AVRO.
The schemas resource is used to create and list Schemas.
JSON Schema
The schemas resource uses the following json-schema:
GET /profile/schema_versions HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/schema+json
Host: api.example.comHTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/schema+json
Content-Length: 1078
{
  "title" : "Schema version",
  "properties" : {
    "schema" : {
      "title" : "Schema",
      "readOnly" : false,
      "type" : "string",
      "format" : "uri"
    },
    "uid" : {
      "title" : "Uid",
      "readOnly" : true,
      "type" : "string"
    },
    "schemaBody" : {
      "title" : "Schema body",
      "readOnly" : false,
      "type" : "string"
    },
    "modified_by" : {
      "title" : "Modified by",
      "readOnly" : false,
      "type" : "string"
    },
    "created_at" : {
      "title" : "Created at",
      "readOnly" : true,
      "type" : "string",
      "format" : "date-time"
    },
    "modified_at" : {
      "title" : "Modified at",
      "readOnly" : false,
      "type" : "string",
      "format" : "date-time"
    },
    "version" : {
      "title" : "Version",
      "readOnly" : false,
      "type" : "string"
    },
    "created_by" : {
      "title" : "Created by",
      "readOnly" : true,
      "type" : "string"
    }
  },
  "definitions" : { },
  "type" : "object",
  "$schema" : "http://json-schema.org/draft-04/schema#"
}List all schema versions
A GET request will list all the schema versions visible to the currently logged in user.
Curl request
$ curl 'http://api.example.com/schema_versions' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /schema_versions HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 20972
{
  "_embedded" : {
    "schema_versions" : [ {
      "version" : "v1",
      "schemaBody" : "schemaBody1",
      "uid" : "0aa818df699847d08c24f75a4a7399ed",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.value-schema2",
          "description" : "",
          "uid" : "dae551f956af48c1baa53281b5edca00",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.2",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The random value.\"}]}",
      "uid" : "1b6f4c0e1aa74c7c874074c4852c9123",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema3",
          "description" : "Tenanta schema 3",
          "uid" : "b58073b2caeb4474aa3c6e8c269d919e",
          "created_at" : "2018-09-20T00:00:00",
          "modified_at" : "2018-09-20T00:00:00",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "schemaBody",
      "uid" : "5162f72742cd4c6db07b9a71a825fe4f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema2",
          "description" : "",
          "uid" : "a32ead9183734d838e32c8454af9f3f5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2.1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"keyName\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
      "uid" : "5322f72742cd4c6db07b9a71a825fe4f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The random value.\"}]}",
      "uid" : "659d8cc539c743ec8c052700dae3a081",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema3",
          "description" : "Tenanta schema 3",
          "uid" : "b58073b2caeb4474aa3c6e8c269d919e",
          "created_at" : "2018-09-20T00:00:00",
          "modified_at" : "2018-09-20T00:00:00",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "schemaBody" : "schemaBody",
      "uid" : "8152f72742cd4c6db07b9a71a825fe4f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema2",
          "description" : "",
          "uid" : "a32ead9183734d838e32c8454af9f3f5",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Random\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Random value. This should be used when the Key is irrelevant.\",\"fields\":[{\"name\":\"random\",\"type\":\"string\",\"doc\":\"The random value.\"}]}",
      "uid" : "858d48056942069b916a8053e138s2f6",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : "2018-09-20T00:00:00",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "io.axual.qa.general.Random",
          "description" : "Demo schema",
          "uid" : "858d48056942069a916a8053e138s2e4",
          "created_at" : "2018-09-20T00:00:00",
          "modified_at" : "2018-09-20T00:00:00",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "schemaBody" : "schemaBody1",
      "uid" : "9bb518df699847d08c24f75a4a7399ed",
      "created_at" : "2018-06-07T23:14:23",
      "modified_at" : "2018-06-07T23:14:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.value-schema2",
          "description" : "",
          "uid" : "dae551f956af48c1baa53281b5edca00",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "schemaBody1",
      "uid" : "ab51545971cd461c8c74250907bfac93",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenantb.value-schema1",
          "description" : "",
          "uid" : "af8f33ce859a47bd9a92fa3b052e7069",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"key\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367891",
      "created_at" : "2018-06-07T23:12:23",
      "modified_at" : "2018-06-07T23:12:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1.02",
      "schemaBody" : "schemaBody",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367892",
      "created_at" : "2018-06-07T23:14:24",
      "modified_at" : "2018-06-07T23:14:24",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "schemaBody" : "schemaBody",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367f2d",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "schemaBody",
      "uid" : "bb0f727f05dc4ce7aa32ec1ca1c90933",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : null,
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenantb.key-schema1",
          "description" : "",
          "uid" : "8e37406569d64f32bf7cfb837993dc77",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2.1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Value\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Value.\",\"fields\":[{\"name\":\"valueName\",\"type\":\"string\",\"doc\":\"The Value.\"}]}",
      "uid" : "c434a9d3b4db4fa0861965246be645a2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.value-schema1",
          "description" : "",
          "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Value\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Value.\",\"fields\":[{\"name\":\"value\",\"type\":\"string\",\"doc\":\"The Value.\"}]}",
      "uid" : "c633a9d3badb4fa0861965246be64558",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.value-schema1",
          "description" : "",
          "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "schemaBody" : "schemaBody1",
      "uid" : "c633a9d3badb4fa0861965246be645a2",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.value-schema1",
          "description" : "",
          "uid" : "8bc19be0c9cd4da296acd78e6022edf1",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 16,
    "totalPages" : 1,
    "number" : 0
  }
}List all schema versions only
Sometimes, fetching the schema versions might be sufficient instead of fetching the complete object.
For e.g. in displaying drop-down forms. To get schema versions only, use the same GET call as above
but add a parameter projection with value versions. Last modified date is also included to
help determine the latest version.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | Only 1 valid value:  | 
Curl request
$ curl 'http://api.example.com/schema_versions?projection=versions' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /schema_versions?projection=versions HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 8116
{
  "_embedded" : {
    "schema_versions" : [ {
      "version" : "v1",
      "uid" : "0aa818df699847d08c24f75a4a7399ed",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.2",
      "uid" : "1b6f4c0e1aa74c7c874074c4852c9123",
      "modifiedAt" : "2018-09-20T00:00:00",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "uid" : "5162f72742cd4c6db07b9a71a825fe4f",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2.1",
      "uid" : "5322f72742cd4c6db07b9a71a825fe4f",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.1",
      "uid" : "659d8cc539c743ec8c052700dae3a081",
      "modifiedAt" : "2018-09-20T00:00:00",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "uid" : "8152f72742cd4c6db07b9a71a825fe4f",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "0.0.1",
      "uid" : "858d48056942069b916a8053e138s2f6",
      "modifiedAt" : "2018-09-20T00:00:00",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "uid" : "9bb518df699847d08c24f75a4a7399ed",
      "modifiedAt" : "2018-06-07T23:14:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "uid" : "ab51545971cd461c8c74250907bfac93",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367891",
      "modifiedAt" : "2018-06-07T23:12:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1.02",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367892",
      "modifiedAt" : "2018-06-07T23:14:24",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367f2d",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "uid" : "bb0f727f05dc4ce7aa32ec1ca1c90933",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2.1",
      "uid" : "c434a9d3b4db4fa0861965246be645a2",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "uid" : "c633a9d3badb4fa0861965246be64558",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "uid" : "c633a9d3badb4fa0861965246be645a2",
      "modifiedAt" : "2018-06-07T23:16:23",
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    },
    "search" : {
      "href" : "...",
      "title" : "Search endpoints for this entity"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 16,
    "totalPages" : 1,
    "number" : 0
  }
}Retrieve a schema version
The /schema_versions/{id} resource is used to retrieve an individual schema version.
A GET request will retrieve the details of a schema.
HTTP request
GET /schema_versions/b5c0a6b2fdd94d64925fd2fadb367891 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 769
{
  "id" : "b5c0a6b2fdd94d64925fd2fadb367891",
  "version" : "v1",
  "schemaBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"key\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
  "schema" : {
    "id" : "4edccfd6aa744e698542da36f1f01114",
    "optLock" : 0,
    "name" : "nl.tenanta.key-schema1",
    "description" : "",
    "uid" : "4edccfd6aa744e698542da36f1f01114",
    "created_at" : "2018-06-07T23:16:23",
    "modified_at" : "2018-06-07T23:16:23",
    "created_by" : null,
    "modified_by" : null
  },
  "createdAt" : "2018-06-07T23:12:23",
  "modifiedAt" : "2018-06-07T23:12:23",
  "createdByFullName" : "tenAdmin middleName TenantA"
}Schema Versions search endpoint
/schema_versions/search/findAllBySchema
Returns the schema versions of the given Schema.
Query parameters
| Parameter | Description | 
|---|---|
| 
 | A valid URI of an existing Schema | 
Curl request
$ curl 'http://api.example.com/schema_versions/search/findAllBySchema?schema=http%3A%2F%2Flocalhost%2Fschemas%2F4edccfd6aa744e698542da36f1f01114' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta'HTTP request
GET /schema_versions/search/findAllBySchema?schema=http%3A%2F%2Flocalhost%2Fschemas%2F4edccfd6aa744e698542da36f1f01114 HTTP/1.1
Authorization: Bearer token
realm: tenanta
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 5276
{
  "_embedded" : {
    "schema_versions" : [ {
      "version" : "v2.1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"keyName\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
      "uid" : "5322f72742cd4c6db07b9a71a825fe4f",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v2",
      "schemaBody" : "schemaBody",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367f2d",
      "created_at" : "2018-06-07T23:16:23",
      "modified_at" : "2018-06-07T23:16:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1.02",
      "schemaBody" : "schemaBody",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367892",
      "created_at" : "2018-06-07T23:14:24",
      "modified_at" : "2018-06-07T23:14:24",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    }, {
      "version" : "v1",
      "schemaBody" : "{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"io.axual.qa.general\",\"doc\":\"Object type that is supposed to be filled with a Key.\",\"fields\":[{\"name\":\"key\",\"type\":\"string\",\"doc\":\"The Key.\"}]}",
      "uid" : "b5c0a6b2fdd94d64925fd2fadb367891",
      "created_at" : "2018-06-07T23:12:23",
      "modified_at" : "2018-06-07T23:12:23",
      "created_by" : "tenadmin@tenanta.nl",
      "modified_by" : null,
      "_embedded" : {
        "schema" : {
          "name" : "nl.tenanta.key-schema1",
          "description" : "",
          "uid" : "4edccfd6aa744e698542da36f1f01114",
          "created_at" : "2018-06-07T23:16:23",
          "modified_at" : "2018-06-07T23:16:23",
          "created_by" : null,
          "modified_by" : null,
          "_links" : {
            "self" : {
              "href" : "...",
              "templated" : true,
              "title" : "URI pointing to current request"
            }
          }
        }
      },
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "schemaVersion" : {
          "href" : "...",
          "templated" : true
        },
        "schema" : {
          "href" : "...",
          "templated" : true,
          "title" : "A schema"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    }
  }
}Delete a schema version
A DELETE request deletes the schema version. If the schema being deleted is the only version present and is not associated with any streams, then the schema itself will also be deleted.
Curl request
$ curl 'http://api.example.com/schema_versions/b5c0a6b2fdd94d64925fd2fadb367f2d' -i -X DELETE \
    -H 'X-XSRF-TOKEN: XSRF-TOKEN' \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    --cookie 'XSRF-TOKEN=XSRF-TOKEN'HTTP request
DELETE /schema_versions/b5c0a6b2fdd94d64925fd2fadb367f2d HTTP/1.1
X-XSRF-TOKEN: XSRF-TOKEN
Authorization: Bearer token
realm: tenanta
Host: api.example.com
Cookie: XSRF-TOKEN=XSRF-TOKENHTTP response
HTTP/1.1 204 No ContentSupport Tier
Support Tier can be assigned to instances and is used to determine the support plan chosen for the instance.
List all support tiers
A GET request will list all the support tiers.
Curl request
$ curl 'http://api.example.com/support_tiers' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /support_tiers HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
Content-Length: 1338
{
  "_embedded" : {
    "support_tiers" : [ {
      "name" : "GOLD",
      "description" : "This is gold",
      "uid" : "14cadc6238fc4695916a8053302743f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    }, {
      "name" : "SILVER",
      "description" : "This is silver",
      "uid" : "14cadc6238fc4695916a8053413843f5",
      "created_at" : "2018-09-20T00:00:00",
      "modified_at" : null,
      "created_by" : null,
      "modified_by" : null,
      "_links" : {
        "self" : {
          "href" : "...",
          "title" : "URI pointing to current request"
        },
        "supportTier" : {
          "href" : "...",
          "templated" : true
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "...",
      "title" : "URI pointing to current request"
    },
    "profile" : {
      "href" : "...",
      "title" : "Endpoints for schema metadata in ALPS/JSON Schema format"
    }
  },
  "page" : {
    "size" : 20,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}Usage
The Usage stats of all the tenants can be accessed .
View Usage
A GET request which will return the usage stats for all the tenants across instances.
Only BILLING_INTERNAL user has access to this endpoint.
Curl request
$ curl 'http://api.example.com/usage' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /usage HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2387
[ {
  "name" : "supertenant",
  "groups" : 1,
  "instance" : [ {
    "name" : "test",
    "streamConfigsCount" : 0,
    "supportTier" : "SILVER",
    "clustersNames" : [ "Limited BYOK cluster for cc" ]
  } ]
}, {
  "name" : "clntntcc",
  "groups" : 0,
  "instance" : [ ]
}, {
  "name" : "BYOKtenant",
  "groups" : 1,
  "instance" : [ {
    "name" : "BYOKAIVEN",
    "streamConfigsCount" : 2,
    "supportTier" : "GOLD",
    "clustersNames" : [ "BYOK cluster for aiven" ]
  }, {
    "name" : "BYOKCC",
    "streamConfigsCount" : 1,
    "supportTier" : "GOLD",
    "clustersNames" : [ "BYOK cluster for cc" ]
  }, {
    "name" : "BYOKKAFKA",
    "streamConfigsCount" : 1,
    "supportTier" : "GOLD",
    "clustersNames" : [ "BYOK cluster for apache-kafka" ]
  }, {
    "name" : "BYOKKAFKAReplica",
    "streamConfigsCount" : 1,
    "supportTier" : "GOLD",
    "clustersNames" : [ "BYOK replica2 for apache-kafka", "BYOK replica1 for apache-kafka" ]
  } ]
}, {
  "name" : "LmtBYOKtnt",
  "groups" : 1,
  "instance" : [ {
    "name" : "LMTBYOKCC",
    "streamConfigsCount" : 1,
    "supportTier" : "GOLD",
    "clustersNames" : [ "Limited BYOK cluster for cc" ]
  } ]
}, {
  "name" : "clntnt",
  "groups" : 0,
  "instance" : [ ]
}, {
  "name" : "tenantS",
  "groups" : 9,
  "instance" : [ {
    "name" : "ActiveSubs",
    "streamConfigsCount" : 0,
    "supportTier" : "GOLD",
    "clustersNames" : [ ]
  } ]
}, {
  "name" : "tenantSC",
  "groups" : 0,
  "instance" : [ ]
}, {
  "name" : "tenanta",
  "groups" : 9,
  "instance" : [ {
    "name" : "ota2",
    "streamConfigsCount" : 0,
    "supportTier" : "GOLD",
    "clustersNames" : [ "Zone2 Cluster OTA" ]
  }, {
    "name" : "ota",
    "streamConfigsCount" : 11,
    "supportTier" : "GOLD",
    "clustersNames" : [ "Zone1 Cluster OTA", "Zone2 Cluster OTA" ]
  }, {
    "name" : "prod",
    "streamConfigsCount" : 2,
    "supportTier" : "SILVER",
    "clustersNames" : [ "Zone1 Cluster PROD" ]
  }, {
    "name" : "lst",
    "streamConfigsCount" : 1,
    "supportTier" : "SILVER",
    "clustersNames" : [ "Zone2 Cluster OTA" ]
  } ]
}, {
  "name" : "tenantb",
  "groups" : 4,
  "instance" : [ {
    "name" : "prod",
    "streamConfigsCount" : 1,
    "supportTier" : "GOLD",
    "clustersNames" : [ "Zone2 Cluster PROD" ]
  }, {
    "name" : "ota",
    "streamConfigsCount" : 0,
    "supportTier" : null,
    "clustersNames" : [ ]
  } ]
} ]View Instance info
A GET request which will return the instance’s info for all the tenants.
Only BILLING_INTERNAL user has access to this endpoint.
Curl request
$ curl 'http://api.example.com/usage/instances' -i -X GET \
    -H 'Authorization: Bearer token' \
    -H 'realm: tenanta' \
    -H 'Accept: application/hal+json'HTTP request
GET /usage/instances HTTP/1.1
Authorization: Bearer token
realm: tenanta
Accept: application/hal+json
Host: api.example.comHTTP response
HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1701
[ {
  "instanceShortName" : "ActiveSubs",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "tenantS"
}, {
  "instanceShortName" : "ota2",
  "connectUrls" : "https://connect3.url,https://connect4.url",
  "connectEnabled" : true,
  "tenantShortName" : "tenanta"
}, {
  "instanceShortName" : "BYOKAIVEN",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "BYOKtenant"
}, {
  "instanceShortName" : "BYOKCC",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "BYOKtenant"
}, {
  "instanceShortName" : "ota",
  "connectUrls" : "https://connect1.url,https://connect2.url",
  "connectEnabled" : true,
  "tenantShortName" : "tenanta"
}, {
  "instanceShortName" : "BYOKKAFKA",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "BYOKtenant"
}, {
  "instanceShortName" : "LMTBYOKCC",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "LmtBYOKtnt"
}, {
  "instanceShortName" : "prod",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "tenantb"
}, {
  "instanceShortName" : "prod",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "tenanta"
}, {
  "instanceShortName" : "test",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "supertenant"
}, {
  "instanceShortName" : "ota",
  "connectUrls" : null,
  "connectEnabled" : true,
  "tenantShortName" : "tenantb"
}, {
  "instanceShortName" : "lst",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "tenanta"
}, {
  "instanceShortName" : "BYOKKAFKAReplica",
  "connectUrls" : null,
  "connectEnabled" : false,
  "tenantShortName" : "BYOKtenant"
} ]API changelog
All notable changes to this project are listed below.
Next - TBR
7.4.0 - 2023-10-09
Added
- 
Don’t validate connector-logging certificate against the instance CAs 
- 
Added TRIALING status to reflect "active" state of the subscription 
- 
Add stream-config-browse config endpoint 
- 
Add Hashicorp Vault support 
- 
Upgraded Spring Kafkaversion to 3.0.10
- 
Upgraded Kafka Clientsversion to 3.5.1
- 
Upgraded Spring Hateoasversion to 2.0.6
- 
Upgraded Spring Securityversion to 6.1.4
- 
Upgraded Keycloak Admin Clientversion to 22.0.3
- 
Changed the /clusters endpoint to return Public and Owned clusters 
- 
Removed the endpoint /instances/{id}/clusters 
- 
Change to restrict creating Byok-Instance using the non-byok cluster and vice versa while creating instance 
- 
Introduce a multiInstancefeature to control instance-creation
- 
Ingest AOM features into Platform Manager 
- 
Show Private Key Uploaded in Principal 
- 
Add HashiCorp Vaultsupport for storing connect secrets
- 
Added linksto the/clustersendpoint. Updated RBAC rule for cluster create,edit and delete
- 
Add apache-kafkaallowed topic-properties
- 
Add tenantUid,topicBrowseEnabled, andschemaRegistryEnabledfields to/api/me
- 
Added a new endpoint /tenants/{tenantUID}/onboardto onboard a tenant with shared cluster
- 
Re-introduced segment.mspickup from Instance’s properties
- 
Use principalChainwhen creating Topic ACL for multi-tenant cluster and support multi-cluster for topic apply/delete
- 
Delete public environment 
- 
Add tlssupport to PlatformManager helm-charts with external k8s secret only
- 
Support multiple instanceConnectconfiguration at Deployment time
Bugfixes
- 
Fix check on identifying external cluster in InstanceEventHandler 
- 
Changes to Allow Generating/Deleting SASL credentials for Plain/Strimzi provider 
- 
Fix change key/value of an unconfigured topic to AVRO 
- 
Allow deleting an applicationCredentials with the ResourceId as metadata in case clusterApiKey is empty 
- 
Return a tenantoptional field when getting all Instances
- 
Fix Schema Browser issue with null schemas in mgmt-api 
- 
Fix create/delete multiple schema versions 
7.3.0 - 2023-08-02
Added
- 
Added configuration to enable/disable duplicate schema validation 
- 
Update importApplication to store ResourceID 
- 
Allow applying a topic on a Plain/Strimzi Cluster 
- 
Allow deleting a topic on a Plain/Strimzi Cluster 
- 
Upgraded Springversion to 6.0.11
- 
Upgraded Spring Securityversion to 6.1.2
- 
Changes to remove duplicated ACL when applying a topic 
- 
Updated the rule for APPLICATION_ACCESS_GRANT_VIEWsimilar toAPPLICATION_ACCESS_VIEW
- 
Add connector logging status to environments/search/findByApplicationendpoint response
- 
Add delete /schema_versions/{uid}endpoint
- 
RollBack all the changes to resolve username on findByAttributeendpoint
Bugfixes
- 
Uploading a schema-version for an existing schema gives error 
- 
Auto-create/delete topic configs when toggling connector logging state. 
7.2.0 - 2023-07-17
Added
- 
Changes to create authentication on Confluent Cloud 
- 
Create/delete Connect log prefix ACLs when environment is saved/deleted 
- 
Create/delete ACLs when a Connect logging certificate is uploaded/deleted 
- 
Automatically create topic configurations as part of the connector logging support feature 
- 
Handle concurrency in creation of application_access
- 
Support Headers based authentication 
- 
Set user fullName as createdBy/modifiedBy for myApplications and myTopics APIs 
- 
Allow onboarding a ConfluentCloud cluster as a CloudAdmin 
- 
Get /groupendpoint returns sorted by name, addmyTeamsparam to get/application_access_grants/search/findByAttributesendpoint
- 
Allow to delete API Keys on Confluent Cloud 
Bugfixes
- 
Change topicConfig properties endpoint to use envID 
- 
If resource does not exist return 404 instead of 403 for all getById APIs 
- 
Expect a clusterNameparam for ConfluentCloud when getting the external topic details
- 
fix /applications/search/findByAttributes and /streams/search/findByAttributes APIs returning duplicated items 
7.1.0 - 2023-06-15
Added
- 
Add POST /application_authenticationsendpoint to create credentials for any provider
- 
Create/delete prefix ACLs when instance is saved with connect logging enabled 
Bugfixes
- 
Improve error message of an unauthorized user attempting to browse a stream 
- 
Fix Hibernate Lazy Initialization on ConnectPluginInfo 
7.0.6 - 2023-06-09
Added
- 
Added a toggle to enable/disable support for connector-logging. 
Bugfixes
- 
Fixed streamConfig update policy 
- 
Allow user to provide single character for firstname and lastname 
7.0.4 - 2023-05-30
Added
- 
Eliminate the need for ApplicationAccess 
- 
Allow creating/updating kafka topic without optional kafka properties 
- 
Update HorizontalPodAutoscalertoautoscaling/v2apiVersion in helm-chart
- 
Delete /application_authenticationsendpoint to delete user on any provider
- 
Fixed hibernate lazy initialization issue with asyncApi endpoint 
- 
Added a check to validate if an environment’s Authorization issue is Auto before browsing a stream 
- 
Updated findStreamConfigById in stream config repository to a custom query 
- 
Updated findById in stream config repository to a custom query 
Bugfixes
- 
Fix for Browsing a stream on a Public Environment with AUTO approval is denied 
7.0.3 - 2023-05-25
Bugfixes
- 
User in permission-groupbut not owner ofstream-configcannot browse
- 
Fix issue on application_access_grants/search/findByAttributesreturning other tenant resources
- 
Remove api/streams/{uid}/browse-accessendpoint
- 
Remove unused Validator components 
- 
Fix for Requesting application-accessfor the first time results in no-ACL for AUTO Approval Environment
Hotfixes
- 
Added custom queries for few methods in ApplicationAccess, Stream and Environment repositories to avoid hibernate lazy loading 
7.0.1 - 2023-04-18
Bugfixes
- 
Fixed restriction of non-admin users and non-members from updating the group 
- 
Set TopicSchemasas null in case the topic key/value type is not Avro for External Providers
7.0.0 - 2023-04-12
Added
- 
Upgrade to Spring Boot 3.0.x 
- 
Added Stripe events integration 
- 
Added customer creation and subscription logic 
- 
Added subscription management database schema 
- 
Added subscription management module + pricing table endpoint 
- 
Added limitation of having just one active subscription 
- 
Added customer portal and checkout redirect 
- 
Added fallback value for products 
- 
Added Off-board customer from Stripe 
- 
Added Slack notification for Sales/Marketing when the user request a quote 
- 
Added organization Created event which is sent after Tenant creation 
- 
Added blocking clusters/groups creation upon reaching limit by client 
- 
Added subscription management module + pricing table endpoint 
- 
Added subscription management database schema 
- 
Exposed an endpoint to retrieve current customer’s usage and features 
- 
Added supporting multiple OIDC Provider 
- 
Exposed /meendpoint to return User and Tenant information
- 
Added Aiven credentialsvalidation and returnAiven services
- 
Added Confluent Cloud credentialsvalidation and returnConfluent Cloud services
- 
Exposed /wizard/topicsendpoint to create base entities
- 
Include topics, ACLs and Schemas as discovered resources for an external provider 
- 
Added fetching TopicDetails for available topics on a Kafka Provider 
- 
Added deleting stream browse permission groups when disabling granular browse permissions on the Instance 
- 
Added Streams/StreamConfigs, ACLs and Schemas import for an external provider 
- 
Added persisting secrets in Azure KeyVault for Aiven and ConfluentCloud providers 
- 
Added supporting Multiple owners to Search Application Grants by Attributes 
- 
Allow creating clusters with same name on different tenants 
- 
Delete topic via Provider Library added 
- 
Allowing imported topics to have any Kafka properties 
- 
Added apply topic and update existing topic via Provider Library 
- 
Exposed GET /schemas/findAllWithLatestVersionendpoint to list all schemas with the latest schema versions
- 
Updated authMethods to match the external Kafka Providers 
- 
Added uid and comment to ApplicationAccessGrant Response 
- 
Added Cluster and Schema-Registry API/Secret to connect to ConfluentCloud provider 
- 
Converted custom initial_group claim into existing Group to add new user when converting an Auth0 JWT 
- 
Added Off-board an Axual Governance Organization and its resources 
- 
Added Filter out topic properties which are topic fields 
- 
Allow ConfluentCloud applications to manage their AccountID 
Bugfixes
- 
Fixed creation of browse permission group for Autoenvironment
- 
Fixed NPE when getting subscription info on Auth0authentication
- 
Added Instance.apiUrlas part of the response when getting anEnvironment
- 
Added delete link to GET /clusters/{uid}endpoint
- 
Fixed issues with the endpoint /users/search/searchUser
- 
Updated the application.adocmentioning_are allowed forapplicationId
- 
Make all error responses consistent 
- 
Added /instance/{uid}/clustersto return only owned cluster in case the Instance is using an external Kafka cluster
- 
Add SASL_PLAINtoGET /authentication_methodsto support tenant update withSASL_PLAIN
- 
Fixed /deletion-constraintsendpoint to return 404 instead of 403
- 
Change application_idtype to store long applicationId coming from Confluent-Cloud
- 
Set default value of create-stream.disable-timeto 0 minutes
- 
Changed imported streamdescription
- 
Fixed issue on application_access_grants/search/findByAttributesreturning other tenant resources
- 
Fix issue of not passing partitionCountand set proper SchemaType when no schema is present
- 
Remove username prefix from imported applications name for Aiven provider 
- 
Allow updating Stream and Application owners by TENANT_ADMIN 
- 
Allow AxualAuditorAware to work with anonymous user and anonymous authentication token 
- 
Subscriptions shouldn’t be deleted 
Deprecated
- 
MySQL 5.7 support has been removed and connecting to a MySQL 5.7 DB won’t work with Platform Manager 7.x 
6.20.4 - 2022-01-19
Bugfixes
- 
Fix for instance setting being ignored when there is no stream browse permission group 
6.20.0 - 2022-12-15
Added
- 
Check schema compatibility only when schema versions have changed 
- 
Remove schema compatibility check when schema key/value versions are not changed 
- 
Introduce a new endpoint to simplify the creation of an ApplicationAccessGrant 
- 
Mark searchendpoints in Application Access as deprecated
- 
New searchendpoints for Application Access Grant
6.19.0 - 2022-11-17
Added
- 
Update org.springframework.security:spring-security-core[to 5.7.5](https://nvd.nist.gov/vuln/detail/CVE-2022-31692)
Bugfixes
- 
Delete certificate/privateKey when deleting a connector application 
- 
Deactivate connector plugin when they are removed from Axual Connect 
- 
Fix /connect_pluginsto return only active connector plugins
6.18.0 - 2022-11-02
Added
- 
New endpoint exposed to add users allowed to browse a Stream Grant browse permission to users 
- 
New endpoint exposed to remove users allowed to browse a Stream Revoke browse permission to users 
- 
New endpoint exposed to retrieve users allowed to browse a Stream Get users from permission group 
- 
Sort Application Access search by Application (findByApplication) by the Stream Name Ascending /application_access/search/findByApplication (Deprecated) 
- 
New endpoint exposed for dynamic search for streams (to get my Streams) /streams/search/findByAttributes 
- 
Check the user’s browse permissions while browsing Auth 
- 
Add option in Instance to disable environment creation Update an instance with environment mapping 
- 
Endpoint /environments/search/findByStreamexposes environments browse permission /environments/search/findByStream
- 
Added myApplications param to findByAttributes endpoint to retrieve applications owned by user /applications/search/findByAttributes 
BugFixes
- 
Fix /tenantendpoint to expose updated tenant’s value
6.17.0 - 2022-10-21
Added
- 
Create a browse permission group when a new Stream is deployed Update an instance with granular browse permission 
Bugfixes
- 
Fix connector’s cert-uri when Vault.Namespace is provided 
6.16.0 - 2022-09-30
Bugfixes
- 
Fix fetching pluginConfigs when updating ConnectorPluginInfo ConnectPlugins 
6.15.1 - 2022-09-13
Bugfixes
- 
Remove whitespaces from the ApplicationId during creation and update Create Custom application Update an application 
- 
Environment visibility shouldn’t be changed to private, if there are resources of other groups Update an environment 
- 
Fix for issue with deleting an instance when connect enabled Delete Instance endpoints 
- 
Missing Pagination URLs and wrong totalElements count for findByAttributes service /applications/search/findByAttributes 
- 
Allow searching applications by applicationClass in findByAttributes service /applications/search/findByAttributes 
- 
Resolve Tenant using the realm header, allowing multiple tenants to use same issuer 
- 
Add application deployment resource check to environment deletion service Delete environment endpoints 
- 
While configuring an application in an environment, application access should not automatically being defined for other environments Create Application Credential Create Application Principal 
6.15.0 - 2022-08-24
Added
- 
Added new endpoints to check cluster deletion constraints and to delete a cluster Delete cluster endpoints 
- 
Group connector configs and show description text of configuration value Retrieve a connector/plugin config 
6.14.0 - 2022-08-16
Added
- 
Added new endpoint to list missing streams on governance layer Import External Cluster’s Topics into Self Service 
- 
Added new endpoint to add a missing stream to the governance layer Import Kafka Topics into Self-Service 
- 
Return UID when uploading a schema-version with /schemas/uploadUpload schemas
- 
Added new endpoint to list applications with public attributes /applications/search/findByAttributes 
Bugfixes
- 
Fix PATCH custom application principal to update instead of creating A new principal Update a custom application principal 
- 
Fix getting error while updating an application without ApplicationAdmin role /applications/search/findByAttributes 
6.13.0 - 2022-07-25
Added
- 
Support SASL_OAUTHBEARER as an Authentication Method for the Tenant Create a custom Application Principal to store a clientID 
- 
Support customPrincipal for application using SASL_OAUTHBEARER Create a custom Application Principal to store a clientID 
Bugfixes
- 
Fix PATCH application principal to update instead of creating new principal Update application principal 
6.12.1 - 2022-07-12
Added
- 
Made Stream Value Type, Key Type, Retention Time, Schema(if AVRO) editable Update a stream 
6.12.0 - 2022-06-15
Added
- 
Trigger a topic deployment when the application ID is updated for all connected topics Update an application id 
- 
Updated the monitoring info endpoint to return also the tenant and environment short names Monitoring Information of an environment 
- 
Check if STOPPED connectors exist before allowing changing the application’s short name Update an application 
- 
Added applicationClass field while returning list of applications List all applications 
- 
Allow searching for applications by their applicationType /applications/search/findByApplicationType 
Bugfixes
- 
Fix API to provide proper HTTP error response when Vault is unavailable 
- 
Fix User profile to display group membership /groups/search/findByMembersContains 
- 
When creating a stream-config and instance without segment.ms property, load it from Management API defaults Create stream config endpoints 
- 
Fix issue while uploading LF certificate and private-key to Vault 
6.11.0 - 2022-05-19
Added
- 
Added an endpoint to retrieve Instance, Cluster’s Topic and Group Pattern for a Tenant Monitoring Information of an environment 
- 
Allow deletion of Instance and edit of Instance ShortName Delete Instance endpoints 
6.10.0 - 2022-04-14
Added
- 
Add column pluginDeployedto ConnectPluginInfo object to identify which connector plugin is currently available in an Axual Connect instance
- 
Mark the state of the properties in Application Deployment Config Retrieve connector config from application deployment 
6.9.1 - 2022-03-09 (NOT VALID FOR DEPLOYMENT)
Added
- 
Limit the kafka properties that can be configured on a Stream List all stream configs properties 
- 
Distinguish between custom and non-custom property of a connector Retrieve connector config from application deployment 
Bugfixes
- 
Fix NPE when the connector returns a null ConfigValue 
6.9.0 - 2022-02-23 (NOT VALID FOR DEPLOYMENT)
Added
- 
Allow deleting certificate and PK from a connector application Delete application principal 
- 
Integrate Credentials in environments/search/findByApplication/environments/search/findByApplication
- 
Restrict unselecting supported Auth Method in Tenant and Instance Update a tenant name Update an instance 
- 
Restrict Topic apply while deleting REVOKED application principal Delete application principal 
- 
Return unique list of connectors plugins List all connect plugins 
- 
Using application name consistently 
- 
Mark an env active when connector app has config and principal /environments/search/findByApplication /environments/search/findByStream /environments/search/findByPluginClass 
- 
Return information about Deprecated/New connector configurations Retrieve connector config from application deployment 
- 
Update the Max length supported for the Username in Application Credential Create Application Credential 
- 
Allow requesting application-access when an application has either SASL or SSL Create an ApplicationAccessGrant (Deprecated) 
Bugfixes
- 
Removing issue of StreamConfig properties fixed Update a stream config 
- 
Fix regression on creating/updating a stream-config without segment.ms Create stream config endpoints Update a stream config 
- 
Fix regression on creating/updating authMethods for Tenant and Instance Create tenant Update a tenant name Create instance Update an instance 
- 
Fix regression on updating Tenant as TENANT_ADMIN when feature-config exists Update a tenant name 
- 
Remove dangling application_access_grants while deleting an Environment Delete environment endpoints 
- 
History Tab not displayed on Application Page when the user role is set only to 'TENANT_ADMIN' 
- 
Fix Instance Protocols validation, allowing update an instance without SSL enabled Update an instance 
6.8.0 - 2021-12-16
Added
- 
Allow Application Owner to revoke own Application Access request(s) Revoke/Deny an authorization request for an Environment (Deprecated) 
- 
Configure Supported Authentication Methods for Tenants Authentication Methods Create tenant Update a tenant name 
- 
Delete all Application Credentials while deleting an application Delete endpoints 
- 
Configure Enabled Authentication Methods for Instances Create instance Update an instance 
- 
Add optional filter SASL Mechanism/Type to the Application Credential Search ApplicationCredentials search endpoints 
Bugfixes
- 
Fix Application Deployment Config Endpoint to return required value Retrieve connector config from application deployment 
6.6.0 - 2021-10-07
Added
- 
Implement new environment switcher /environments/search/findByApplication /environments/search/findByStream 
- 
Trigger topic apply when ApplicationCredential is created Create Application Credential 
- 
Make all kafka properties deployable on kafka topic List all stream configs properties 
6.5.0 - 2021-09-14
Added
- 
Allow applying an incompatible schema Force a stream config 
- 
Create and Store SASL Credentials ApplicationCredentials 
Bugfixes
- 
Fix inconsistency between Axual Connect state and self-service state 
- 
Management API cannot create new cluster Create a cluster 
6.4.0 - 2021-08-12
Added
- 
Include cluster names to InstanceUsage returned to Billing View Usage 
Bugfixes
- 
Always set processed at to the time we auto approve an applicationAccessGrant Create an ApplicationAccessGrant (Deprecated) 
- 
Schema subjects are not always correctly deleted Delete stream config endpoints 
6.3.0 - 2021-07-15
Added
- 
Change schema upload view object Check and Parse a schema 
Bugfixes
- 
Add name to Applications/Streams Search Controller sorting fields /applications/search/findByNameContaining//streams/search/findByNameContaining 
6.2.0 - 2021-06-17
Added
- 
Disable changing an environment’s instance or shortName when stream configs exist Update an environment 
6.1.0 - 2021-06-10
Added
- 
Enable sorting on stream owner /streams/search/findByNameContaining 
- 
Enable sorting on application owner /applications/search/findByNameContaining 
- 
Add HATEOAS links object to Application and Stream SearchControllers /applications/search/findByNameContaining /streams/search/findByNameContaining 
Bugfixes
- 
Uploading the PEM file with the cert + intermediate CA + root CA gives error when saving principal Create Application Principal 
- 
Support windows line ending for PK/certificate/schema upload 
Deprecated APIs
All the deprecated APIs and their alternatives are listed below. These deprecated endpoints will be removed as part of next major release
| Deprecated API | Alternative API | Deprecated since version | 
|---|---|---|
| 
 | Revoke/Deny an authorization request for an ApplicationAccessGrant | 7.0.4 | 
| 
 | 7.0.4 | |
| 
 | 7.0.4 | |
| 
 | 7.0.4 | |
| 
 | Use StreamBrowse | 7.0.3 | 
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.20.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.14.0 | |
| 
 | 6.9.0 | |
| 
 | 6.9.0 | |
| 
 | 6.7.0 | |
| 
 | 6.3.0 | |
| 
 | Use StreamBrowse | 4.5.0 | 
Inconsistent Errors
All error responses will be made consistent with the Errors. Some scenarios were listed below.
| Scenario | Incompatible Error (Sample Response) | Compatible Error (Sample Response) | Available since api version | 
|---|---|---|---|
| While  | {
"errors": [
  {
   "entity": "Application",
   "property": "type",
   "invalidValue": null,
   "message": "Type must be provided."
  }
 ]
} | {
   "status": "BAD_REQUEST",
   "message": "Bad request",
   "errors": [
     "Type must be provided."
   ],
   "subErrors": [
    {
      "field": "Application.type",
      "rejectedValue": null,
      "recommendedValues": null,
      "errors": [
        "Type must be provided."
      ]
    }
   ]
} | 7.0.0 | 
| While  | {
  "errors": [
  {
   "entity": "Application",
   "property": "applicationIds",
   "invalidValue": [
    "nl.tenanta.app2"
   ],
   "message": "Duplicate applicationId"
  }
 ]
} | {
   "status": "BAD_REQUEST",
   "message": "Bad request",
   "errors": [
     "Type must be provided."
   ],
   "subErrors": [
    {
     "field": "Application.type",
     "rejectedValue": null,
     "recommendedValues": null,
     "errors": [
       "Type must be provided."
     ]
    }
   ]
} | 7.0.0 | 
| When performing a  | empty response body | {
   "status": "NOT_FOUND",
   "message": "Resource not found or you do not have permissions to access it.",
   "errors": [
     "EntityRepresentationModel not found!"
   ],
   "subErrors": null
} | 7.0.0 | 
| While  | ApiError(status=403 FORBIDDEN, message=Request processing failed; nested exception is io.axual.flux.core.exception. InstanceClientCreateException: Failed topic creation for stream tenanta-stream1 on tenantaenv1 for instance http//aeb-ota.local; nested exception is org.springframework.web .client.HttpClientError Exception$UnprocessableEntity: 422 Unprocessable Entity, errors=null, subErrors=null) | {
   "status": "BAD_GATEWAY",
   "message": "Failed to apply stream. The key schema you are trying to apply is incompatible with latest key schema version.",
   "errors": [
     "422 Unprocessable Entity"
   ],
   "subErrors": null
} | 7.0.0 |