Update a Library
post
/ic/api/integration/v1/libraries/{id}/archive
Replace the existing jar/js file.
Request
Supported Media Types
- multipart/form-data
Path Parameters
Form Parameters
-
file(required): file
Library artifact file content
Response
Supported Media Types
- application/json; charset=utf-8
200 Response
successful operation
Root Schema : library
Type:
Show Source
object
-
hasMore:
boolean
Default Value:
false
-
id:
string
-
items:
array items
-
limit:
integer(int32)
-
links:
array links
-
totalResults:
integer(int32)
Nested 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
204 Response
Successful operation, no content sent, the Location header provides the newly created libraries uri
400 Response
Malformed request parameters
409 Response
Library already exists
500 Response
Server error