Get a specific foreign keys
get
/database/objects/foreign_keys/{owner},{constraint_name}
Returns the corresponding record from DBA_CONSTRAINTS and DBA_CONS_COLUMNS, or ALL_CONSTRAINTS and ALL_CONS_COLUMNS, views depending on role at runtime. Recorded included in the response are where the constraint type is 'R'. A client requires SQL Administrator or SQL Developer role to invoke this service.
Request
Path Parameters
-
constraint_name: string
Name of the constraint for the foreign key.
-
owner: string
Owner for the foreign key.
Response
Supported Media Types
- application/json
200 Response
Information on a specific foreign key.
Root Schema : DatabaseObjectsForeignKeysItem
Type:
object
Describes a foreign key constraint for referential integrity.
Show Source
-
column_name(optional):
string
Name of the column or attribute of the object type column specified in the constraint definition.
-
constraint_name(optional):
string
Owner of the constraint definition.
-
links(optional):
array links
-
owner(optional):
string
Owner of the constraint definition.
-
position(optional):
integer
The position of the column_name and referenced r_column_name.
-
r_column_name(optional):
string
Name of the column referred to in a referential constraint.
-
r_owner(optional):
string
Owner of the table referred to in a referential constraint.
-
r_table_name(optional):
string
Name of the table referred to in a referential constraint.
-
table_name(optional):
string
Name associated with the table (or view) with the constraint definition.