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.

Preview object data

post

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

Get Object Preview, the first 10 rows from Object.

Request

Path Parameters
Header Parameters
Body ()
Details for tweaking of object preview. Provided parameters can influence how the rows and fields are parsed for the preview.
Root Schema : PreviewObjectDetails
Type: object
Details for tweaking of object preview. Provided parameters can influence how the rows and fields are parsed for the preview.
Show Source
Nested Schema : CsvFormattingDetails
Type: object
Preview formatting details specific to objects in the CSV format.
Show Source
  • Default Value: true
    When set to true, loads fields consisting of spaces as null.
  • Default Value: true
    Blank lines are ignored when set to true.
  • Default Value: true
    Removes any quotes that are around any field in the source file.
  • Default Value: LDRTRIM
    Allowed Values: [ "RTRIM", "LTRIM", "NOTRIM", "LRTRIM", "LDRTRIM" ]
    Specifies how the leading and trailing spaces of the fields are trimmed.
  • Default Value: true
    If the data in the file is too long for a field, then this option will truncate the value of the field rather than reject the row.
  • Allowed Values: [ "REJECT_RECORD", "STORE_NULL" ]
    If a row is rejected because of data type conversion errors, the related columns are stored as null or the row is rejected.
  • Minimum Length: 1
    Maximum Length: 255
    Specifies the date format in the source file. 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: 1
    Specifies the field delimiter character.
  • Default Value: true
    The character '\' is used as the escape character when specified.
  • Minimum Length: 1
    Maximum Length: 1
    Specifies the quote character for the fields, the quote characters are removed during loading when specified.
  • Maximum Value: 1000
    The operation will error out after specified number of rows are rejected.
  • Maximum Value: 10
    Specifies how many rows should be skipped from the start of the file.
  • Minimum Length: 1
    Maximum Length: 255
    Specifies the timestamp format in the source file. See the Format Models reference: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Format-Models.html
    Example: YYYY-MM-DD HH:MI:SS.FF YYYY-MM-DD HH:MI:SS.FF3 MM/DD/YYYY HH:MI:SS.FF3
  • Minimum Length: 1
    Maximum Length: 255
    Specifies the timestamp with local timezone format in the source file. See the Format Models reference: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Format-Models.html
    Example: DD Mon YYYY HH:MI:SS.FF TZR MM/DD/YYYY HH:MI:SS.FF TZR YYYY-MM-DD HH:MI:SS+/-TZR YYYY-MM-DD HH:MI:SS.FF3 DD.MM.YYYY HH:MI:SS TZR
  • Minimum Length: 1
    Maximum Length: 255
    Specifies the timestamp with timezone format in the source file. See the Format Models reference: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Format-Models.html
    Example: DD Mon YYYY HH:MI:SS.FF TZR MM/DD/YYYY HH:MI:SS.FF TZR YYYY-MM-DD HH:MI:SS+/-TZR YYYY-MM-DD HH:MI:SS.FF3 DD.MM.YYYY HH:MI:SS TZR
Back to Top

Response

Supported Media Types

200 Response

Retrieves data of the given object for preview
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 : RowCollection
Type: object
Rows of Object Select preview, first row is column names
Show Source
  • items
    Maximum Number of Items: 10
    Collection of rows which together form an object preview.
Example:
{"items": [["col1Name", "col2Name"], ["col1Row1Value", "col2Row1Value"], ["col1Row2Value", "col2Row2Value"], ["col1Row3Value", "col2Row3Value"]]}
Nested Schema : items
Type: array
Maximum Number of Items: 10
Collection of rows which together form an object preview.
Show Source
Nested Schema : items
Type: array
Show Source

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