Retrieve a Library
get
/ic/api/integration/v1/libraries/{id}
Retrieves detailed information about the library with the specified ID.
Request
Supported Media Types
- application/json; charset=utf-8
Path Parameters
-
id(required): string
Library identifier. The id must be added to the request in the following form: code%7Cversion. For example: JSLIB%7C01.00.0000. The %7C is the encoded | (vertical line).
Response
Supported Media Types
- application/json; charset=utf-8
- application/vnd.oracle.resource+json;type=singular
200 Response
Successful operation
Root Schema : library
Type:
Show Source
object
-
calloutType:
string
-
code:
string
-
createdBy:
string
-
createdDate:
string(date-time)
-
description:
string
-
displayName:
string
-
id:
string
-
lastUpdatedBy:
string
-
lastUpdatedDate:
string(date-time)
-
libraryType:
string
-
links:
array links
-
lockedBy:
string
-
lockedDate:
string(date-time)
-
lockedFlag:
boolean
Default Value:
false
-
status:
string
-
usage:
integer(int32)
-
version:
string
404 Response
Not found
412 Response
Precondition failed
500 Response
Server error
Examples
The following example shows how to get details about a JavaScript library by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Get details about the library JSLIB|01.00.0000
The id is in the form: code%7Cversion
. The %7C is the encoded | (vertical line).
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://integration.us.oraclecloud.com/ic/api/integration/v1/libraries/JSLIB%7C01.00.0000