Pre-General Availability: 2022-08-18. This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.

Get Object Schema

post

/20210831/projects/{projectId}/n/{namespace}/b/{bucketName}/o/{objectName}/actions/getObjectSchema

Get schema of the given object.

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Retrieves a schema of the given object.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : ObjectSchema
Type: object
Result set with object schema
Show Source
Nested Schema : FieldsCollection
Type: object
A list of fields that make up the schema.
Show Source
Nested Schema : ProbingDetails
Type: object
Probing details about particular object. The probing details may vary between different file types of the object. Typical probing details are: file type and compression.
Show Source
  • Allowed Values: [ "NONE", "UNKNOWN", "ZIP", "GZIP", "BZIP2", "BZIP2_INTERNAL", "ZSTD", "LZO", "LZ4", "SNAPPY", "SNAPPY_INTERNAL" ]
    Compression type of the object obtained via probing. All the *_INTERNAL values are related to Avro filetype only and it means that the given compression is used as an internal codec. Additionally, the filetype can't be compressed in a standard way as a file (eg. via bzip2 utility).
  • CsvProbingDetails
    Probing details specific to objects in the CSV format. Those can be used as hints for data processing in downstream business logic.
  • Allowed Values: [ "UNKNOWN", "CSV", "JSON", "PARQUET", "AVRO", "ORC" ]
    File type of the object obtained via probing.
Nested Schema : items
Type: array
A list of fields that make up the schema.
Show Source
  • FieldSchema
    A field schema decribes a particular field in the object schema. It contains at least a name and a data type, but potentially can be extended with some additional or more complex properties.
Nested Schema : FieldSchema
Type: object
A field schema decribes a particular field in the object schema. It contains at least a name and a data type, but potentially can be extended with some additional or more complex properties.
Show Source
  • AdditionalFlags
    Additional flags which further clarifies the primary and logical types, or provide data type constraints.
  • Allowed Values: [ "BOOLEAN", "INT", "LONG", "FLOAT", "DOUBLE", "BYTES", "STRING", "ENUM", "ARRAY", "MAP", "FIXED" ]
    Data type of the field. Possible values include STRING, INTEGER, ...
  • Minimum Length: 1
    Maximum Length: 255
    Name of the field
  • Allowed Values: [ "DECIMAL", "UUID", "DATE", "TIME_MILLIS", "TIME_MICROS", "TIMESTAMP_MILLIS", "TIMESTAMP_MICROS", "LOCAL_TIMESTAMP_MILLIS", "LOCAL_TIMESTAMP_MICROS", "DURATION" ]
    Logical data type of the field which extends or clarifies the primary data type.
  • Minimum Length: 1
    Maximum Length: 255
    Oracle DB data type of the field which extends or clarifies the primary data type.
Nested Schema : AdditionalFlags
Type: object
Additional flags which further clarifies the primary and logical types, or provide data type constraints.
Show Source
Nested Schema : enumConstants
Type: array
A list of string constants for a particular enum, can be used only with the enum logical type.
Show Source
Nested Schema : CsvProbingDetails
Type: object
Probing details specific to objects in the CSV format. Those can be used as hints for data processing in downstream business logic.
Show Source
  • Default Value: false
    A boolean flag wheater the csv file contains skippable rows.
  • Minimum Length: 1
    Maximum Length: 255
    A suggested hint for date parsing, a pattern for date format. See the Format Models reference: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Format-Models.html
    Example: MM-DD-YYYYBC MM-DD-YYYY YYYYMMDD HHMISS YYMMDD HHMISS YYYY.DDD YYYY-MM-DD
  • Minimum Length: 1
    Maximum Length: 255
    A delimiter of CSV values.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.
Back to Top