oracle API definition (1.0.0)
oracle API definition
/v1/esearch-bulk-documents/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "documents": [
- {
- "es-document": { },
- "es-id": "string"
}
], - "spec-name": "string",
- "start-index": true,
- "version-name": "string"
}, - "type": "esearch-bulk-documents"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "es-document": { },
- "es-id": "string",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}
], - "meta": { }
}
/v1/esearch-delete-documents/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "documents": [
- {
- "es-id": "string"
}
], - "spec-name": "string",
- "version-name": "string"
}, - "type": "esearch-delete-documents"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "task-id": "string"
}
/v1/esearch-documents/
query Parameters
version-id required | string <uuid> Example: version-id=11111111-1111-1111-1111-111111111111 |
filter[es-id] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "es-document": { },
- "es-id": "string",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}
], - "meta": { }
}
/v1/esearch-documents/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "es-document": { },
- "es-id": "string",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "esearch-documents"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "es-document": { },
- "es-id": "string",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "es-document": { },
- "es-id": "string",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}, - "meta": { }
}
/v1/esearch-documents/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "es-document": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "es-document": { },
- "es-id": "string",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "version-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-documents"
}, - "meta": { }
}
/v1/esearch-spec-search/
Request Body schema: application/json
required | object | ||||
| |||||
name required | string <= 128 characters ^[^-/*?"<>|\ ,#:A-Z]+$ | ||||
page[limit] | integer (PageLimit) [ 1 .. 1000 ] | ||||
page[offset] | integer (PageOffset) >= 0 |
Responses
Request samples
- Payload
Content type
application/json
{- "es-search-body": {
- "query": { }
}, - "name": "string",
- "page[limit]": 100,
- "page[offset]": 0
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": {
- "hits": { }
}, - "meta": { }
}
/v1/esearch-spec-versions/
query Parameters
spec-id required | string <uuid> Example: spec-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 64 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { },
- "index-last-collection-at": "string",
- "index-status": "idle",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-spec-versions"
}
], - "meta": { }
}
/v1/esearch-spec-versions/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { },
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "esearch-spec-versions"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { },
- "index-last-collection-at": "string",
- "index-status": "idle",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-spec-versions"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { },
- "index-last-collection-at": "string",
- "index-status": "idle",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-spec-versions"
}, - "meta": { }
}
/v1/esearch-spec-versions/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-spec-versions"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "es-document-schema": { },
- "es-index-spec": { },
- "index-last-collection-at": "string",
- "index-status": "idle",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-spec-versions"
}, - "meta": { }
}
/v1/esearch-specs/
query Parameters
filter[name] | string <= 128 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-specs"
}
], - "meta": { }
}
/v1/esearch-specs/
Request Body schema: application/json
required | object | ||||||||
| |||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "name": "string"
}, - "type": "esearch-specs"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-specs"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-specs"
}, - "meta": { }
}
/v1/esearch-specs/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "current-version-id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-specs"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by-id": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "version": {
- "description": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "esearch-specs"
}, - "meta": { }
}
/v1/rxnorms/
query Parameters
filter[source-abbreviation] | string <= 255 characters |
filter[term-type] | string <= 255 characters |
page[limit] | integer [ 1 .. 1000 ] Default: 20 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
text | string <= 255 characters |
Responses
Response samples
- 200
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "atom-id": "string",
- "concept-id": "string",
- "description": "string",
- "source-abbreviation": "string",
- "term-type": "string"
}, - "id": 0,
- "type": "rxnorms"
}
], - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "atom-id": "string",
- "concept-id": "string",
- "description": "string",
- "source-abbreviation": "string",
- "term-type": "string"
}, - "id": 0,
- "type": "rxnorms"
}, - "meta": { }
}
/v1/sniffers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
Content type
application/json
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "type": "sniffers"
}, - "meta": { }
}
Response samples
- 201
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
Response samples
- 200
Content type
application/vnd.api+json
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
/v1/sniffers/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
Content type
application/vnd.api+json
{- "data": [
- {
- "attributes": {
- "body": "string",
- "content_type": "string",
- "created-time": "string",
- "message": "string",
- "method": "string",
- "path": "string",
- "query-string": "string",
- "request-id": "string",
- "response": "string",
- "status-code": 0,
- "trace-id": "string",
- "user-agent": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffer-logs"
}
], - "meta": { }
}