Get all object types
get
/database/objects/types/
Describes all object types in the database. Uses DBA_TYPES or ALL_TYPES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.
Request
Query Parameters
-
limit: integer(int32)
The maximum number of records to return.
-
q:
Filtering is the process of limiting a collection resource by using a per-request dynamic filter definition across multiple page resources, where each page contains a subset of items found in the complete collection. Filtering enables efficient traversal of large collections.Examples
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Description of all object types in the database.
Root Schema : DatabaseObjectsTypes
Type:
Show Source
object
-
count: integer
Total number of records in the current response.
-
hasMore: boolean
Indicates if there are more records to be retrieved.
-
items: array
items
-
limit: integer
The actual page size limit on number of records applied by the server.
-
links: array
links
-
offset: integer
The actual index from which the item resources are returned.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object DatabaseObjectsTypesItem
This object describes an object type in the database.
Nested Schema : DatabaseObjectsTypesItem
Type:
object
This object describes an object type in the database.
Show Source
-
attributes: integer
Number of attributes (if any) in the type.
-
final: string
Indicates whether the type is a final type (YES) or not (NO).
-
incomplete: string
Indicates whether the type is an incomplete type (YES) or not (NO).
-
instantiable: string
Indicates whether the type is an instantiable type (YES) or not (NO).
-
links: array
links
-
local_attributes: integer
Number of local (not inherited) attributes (if any) in the subtype.
-
local_methods: integer
Number of local (not inherited) methods (if any) in the subtype.
-
methods: integer
Number of methods (if any) in the type.
-
owner: string
Owner of the type.
-
persistable: string
Indicates whether the type is a persistable type (YES) or not (NO).
-
predefined: string
Indicates whether the type is a predefined type (YES) or not (NO).
-
supertype_name: string
Name of the supertype (NULL if type is not a subtype).
-
supertype_owner: string
Owner of the supertype (NULL if type is not a subtype).
-
type_name: string
Name of the type.
-
type_oid: string
Object identifier (OID) of the type.
-
typecode: string
Typecode of the type.
-
typeid: string
Type ID value of the type.