{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "SourcesList", "type": "object", "properties": { "branchId": { "type": "integer", "example": 345, "format": "int64" }, "page": { "$ref": "#/definitions/PaginatedResponse" }, "projectId": { "type": "integer", "example": 123, "format": "int64" }, "sources": { "type": "array", "items": { "$ref": "#/definitions/Source" }, "example": [ { "branchId": 5678, "created": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" } }, "description": "", "http": { "url": "https://stream-in.keboola.com/EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX" }, "name": "My HTTP Source", "projectId": 1234, "sourceId": "my-http-source", "type": "http", "version": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" }, "description": "New source.", "hash": "f43e93acd97eceb3", "number": 1 } }, { "branchId": 5678, "created": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" } }, "description": "", "name": "My OTLP Source", "otlp": { "baseUrl": "https://stream-in.keboola.com/otlp/1234/my-otlp-source", "secret": "EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX", "url": "https://stream-in.keboola.com/otlp/1234/my-otlp-source/EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX" }, "projectId": 1234, "sourceId": "my-otlp-source", "type": "otlp", "version": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" }, "description": "New source.", "hash": "f43e93acd97eceb3", "number": 1 } } ] } }, "example": { "projectId": 123, "branchId": 345, "page": { "limit": 100, "totalCount": 1000, "afterId": "my-object-123", "lastId": "my-object-456" }, "sources": [ { "branchId": 5678, "created": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" } }, "description": "", "http": { "url": "https://stream-in.keboola.com/EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX" }, "name": "My HTTP Source", "projectId": 1234, "sourceId": "my-http-source", "type": "http", "version": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" }, "description": "New source.", "hash": "f43e93acd97eceb3", "number": 1 } }, { "branchId": 5678, "created": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" } }, "description": "", "name": "My OTLP Source", "otlp": { "baseUrl": "https://stream-in.keboola.com/otlp/1234/my-otlp-source", "secret": "EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX", "url": "https://stream-in.keboola.com/otlp/1234/my-otlp-source/EXAMPLE-SECRET-PLACEHOLDER-XXXXXXXXXXXXXXXXXXXXX" }, "projectId": 1234, "sourceId": "my-otlp-source", "type": "otlp", "version": { "at": "2024-01-15T10:00:00.000Z", "by": { "tokenDesc": "john.green@company.com", "tokenId": "896455", "type": "user", "userId": "578621", "userName": "John Green" }, "description": "New source.", "hash": "f43e93acd97eceb3", "number": 1 } } ] }, "required": [ "projectId", "branchId", "page", "sources" ] }