Get a synonym

get

/database/objects/synonyms/{owner},{synonym_name}

Returns a record from DBA_SYNONYMS or ALL_SYNONYMS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Information on a specific synonym.
Body ()
Root Schema : DatabaseObjectsSynonymsItem
Type: object
This object describes a synonym in the database. The list of attributes may vary depending on database version.
Show Source
  • links
  • The ID of the container where the data originates.
  • Owner of the synonym.
  • Name of the synonym.
  • Name of the object referenced by the synonym. Although the column is called TABLE_NAME, the object does not necessarily have to be a table. It can be any general object such as a view, sequence, stored procedure, synonym, and so on.
  • Owner of the object referenced by the synonym, or creator of the referring synonym if the target is a public synonym (that is, the object referred to by TABLE_NAME). Although the column is called TABLE_OWNER, the object owned is not necessarily a table. It can be any general object such as a view, sequence, stored procedure, synonym, and so on.
Nested Schema : LinkRelation
Type: object
Show Source
Back to Top