Create a registration for specific assets and destination.
POST {{baseUrl}}/registrations
Request Body
{"filter"=>[{"aspects"=>[{"name"=>"<string>", "variables"=>["<string>", "<string>"]}, {"name"=>"<string>", "variables"=>["<string>", "<string>"]}], "assetId"=>"<string>"}, {"aspects"=>[{"name"=>"<string>", "variables"=>["<string>", "<string>"]}, {"name"=>"<string>", "variables"=>["<string>", "<string>"]}], "assetId"=>"<string>"}], "destination"=>{"type"=>"<string>", "connectionDetails"=>{"host"=>"<string>", "user"=>"<string>", "keyId"=>"<string>", "keySecret"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
[{"destination":{"type":"KAFKA","connectionDetails":{"host":"pariatur","user":"laborum in amet"}},"id":"9225c713-e11d-4617-97db-d08d1480ceea","status":"CREATED","filter":[{"aspects":[{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"assetId":"b727627746644a5296069e92cbd45d8f"},{"aspects":[{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"assetId":"b727627746644a5296069e92cbd45d8f"}],"etag":0},{"destination":{"type":"EVENTHUB","connectionDetails":{"host":"est dolor cupidatat dolor in","user":"occaecat do exercitation"}},"id":"9225c713-e11d-4617-97db-d08d1480ceea","status":"VALIDATING","filter":[{"aspects":[{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"assetId":"b727627746644a5296069e92cbd45d8f"},{"aspects":[{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":"carAspect","variables":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"assetId":"b727627746644a5296069e92cbd45d8f"}],"etag":0}]