Administrator
- Administrator
- All Products
/public/core/v3/checkin
Field
| Type
| Required
| Description
|
---|---|---|---|
objects
| List<Object>
| Yes
| Contains a list of all the objects to be checked in. You can check in a single asset or check in any number of projects or folders.
|
id
| String
| Yes, if path and type are not included
| Include in the objects object.
ID of the object.
|
path
| List<String>
| Yes, if ID is not included
| Include in the objects object.
Full path of the object to be checked in.
|
type
| String
| Yes, if ID is not included
| Include in the objects object.
Type of asset to be checked in.
Can be one of the following types:
|
includeContainerAssets
| Boolean
| -
| Include in the objects object.
Whether all objects in a project or folder are included in the check-in. Use one of the following values:
Default is false.
|
summary
| String
| Yes
| Summary of the check-in.
Maximum length is 255 characters.
|
description
| String
| -
| Description of the check-in.
|
Field
| Type
| Description
|
---|---|---|
Id
| String
| ID for the check-in operation.
|
status
| Object
| Status of the check-in operation.
|
state
| String
| Returned in the status object.
Initial state of the check-in operation. For a successful request, value will always be NOT_STARTED.
To see the status after the operation begins, use the sourceControlAction resource.
|
message
| String
| Returned in the status object
Descriptive status message for the check-in operation.
|
POST <baseApiUrl>/public/core/v3/checkin Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "id": "3iWWHkLbM2giVppBmJmZgV", "includeContainerAssets": true } ], "summary": "Revised mappings", "description": "Revised m_custArch and m_custNew" }
POST <baseApiUrl>/public/core/v3/checkin Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "path": [ "Default", "Test_Mapping" ], "type": "DTEMPLATE" } ] }
POST <baseApiUrl>/public/core/v3/checkin Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "path": [ "Default", "Test_Mapping" ], "type": "DTEMPLATE" } ] }
POST <baseApiUrl>/public/core/v3/checkin Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "id": "3iWWHkLbM2giVppBmJmZgV" } ], "summary": "Revised Revised m_custArch" }
{ "Id": "awRrziMMWXol7i42aTm1ih", "status": { "state": "NOT_STARTED", "message": "Initialized" } }