Update schema
put
/20260430/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}
Updates a schema.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
schemaKey(required): string
The fully qualified name of the schema in the format
. .
Header Parameters
-
if-match: string
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
should-update-recent: boolean
A flag to identify if the recent list should be updated.Default Value:
false
The information to be updated.
Root Schema : UpdateSchemaDetails
Type:
objectThe data to update a schema.
Show Source
-
description:
string
Schema description.
-
displayName:
string
Schema name.
-
properties:
object properties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a defined tag key and value.
Nested Schema : properties
Type:
objectAdditional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value.
Response
Supported Media Types
- application/json
202 Response
Requested accepted. Schema is updated.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
-
opc-work-request-id: string
The OCID of the asynchronous work request. Use GetWorkRequest with this ID to track the status of the request.
Root Schema : Schema
Type:
objectDiscriminator:
entityTypeSchema in data catalogs are constructs to organize data. Schema can contain tables, which contain structured data,
and volumes, which contain unstructured data. A default schema is created in all standard catalogs created in the
Master Catalog. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to
an administrator. If you're an administrator who needs to write policies to give users access, see
IAM Policies for Oracle AI Data Platform Workbench.
Show Source
-
catalogName:
string
The name of the catalog to which this schema belongs.
-
createdBy:
string
ID of the user who created the schema.
-
description:
string
Schema description.
-
details:
object details
Additional Properties Allowed: additionalPropertiesDeprecated field. Map of key-value pairs. This object will be only provided when the parent catalog is external.
-
displayName(required):
string
Schema name.
-
entityType(required):
string
Allowed Values:
[ "ADW", "ALH", "STANDARD", "KAFKA_TOPIC", "ATP", "ORACLE", "EXADATA" ]An enum to decide the type of the derived model. -
key(required):
string
The fully qualified name of the schema in the format
. . -
lifecycleState:
string
Allowed Values:
[ "ACTIVE", "CREATING", "DELETING" ]The current state of the schema. -
lifecycleStateDetails:
string
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
-
properties:
object properties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a defined tag key and value.
-
timeCreated:
string(date-time)
The date and time the schema was created.
-
timeUpdated:
string(date-time)
The date and time the schema was updated.
-
updatedBy:
string
ID of the user who last updated the schema.
Nested Schema : details
Type:
objectAdditional Properties Allowed
Show Source
Deprecated field. Map of key-value pairs. This object will be only provided when the parent catalog is external.
Nested Schema : properties
Type:
objectAdditional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
405 Response
Method Not Allowed. Request is recognized but not supported.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
412 Response
Precondition Failed (One or more conditions in request failed).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.