Find Oracle by ID
Retrieves detailed information about an oracle with the specified ID.
Request
GET /v2/admin/oracles/{oracleID}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
oracleID | string | path | Required. The ID of the oracle to retrieve details for |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --location '{{baseUrl}}/v2/admin/oracles/677ed6e3cc111aea14a3dfc3' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Response
{
"id": "677ed6e3cc111aea14a3dfc3",
"category_id": "677ed6e3cc111aea14a3dfb4",
"type": "TEFAS",
"name": "Gümüş Fonu",
"description": "TEFAS Gümüş Fonu",
"integration": {
"codes": [
{
"code": "IOG",
"name": "Gümüş Fonu"
},
{
"code": "GTZ",
"name": "Gümüş Fonu"
}
]
},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique ID of the oracle |
category_id | string | ID of the category this oracle belongs to |
type | string | Type of the oracle (e.g., "TEFAS") |
name | string | Name of the oracle |
description | string | Description of the oracle |
integration | object | Integration configuration object |
integration.codes | array | Array of integration codes |
integration.codes[].code | string | Integration code identifier |
integration.codes[].name | string | Name associated with the integration code |
created_at | string | Oracle creation timestamp (ISO 8601 format) |
updated_at | string | Oracle last update timestamp (ISO 8601 format) |
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Oracle details retrieved successfully |
| 400 | Bad Request - Invalid oracle ID |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Oracle does not exist |
| 500 | Internal Server Error |