| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path |
| media type | data type | description |
|---|---|---|
| application/json | Iterable (JSON) |
GET /srv/projects/{usecase_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | map of object (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
POST /srv/projects/{usecase_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "WARNING",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path |
| media type | data type | description |
|---|---|---|
| application/json | Configuration (JSON) |
GET /srv/projects/{usecase_id}/configuration
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"warningMessages" : [ "...", "..." ],
"profile_id" : "...",
"last_updated_time" : "...",
"status" : "OK",
"errorMessages" : [ "...", "..." ],
"indexes" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"archives" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"context" : "..."
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Iterable (JSON) |
POST /srv/projects/{usecase_id}/query
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
{ }
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
POST /srv/projects/{usecase_id}/search
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
...
| name | type | description | default | constraints |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | ||
| Content-Type | header | application/json | ||
| project_id | path | |||
| usecase_id | path | |||
| force | query | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | boolean (JSON) |
DELETE /srv/projects/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
GET /srv/projects/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "WARNING",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | map of object (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
PUT /srv/projects/{usecase_id}/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "OK",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description | default | constraints |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | ||
| Content-Type | header | application/json | ||
| project_id | path | |||
| usecase_id | path | |||
| force | query | false | boolean |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
POST /srv/projects/{usecase_id}/deleteFiles/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "OK",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
PUT /srv/projects/{usecase_id}/forceUnlock/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "ERROR",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | RegisterFileSetRequest (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
POST /srv/projects/{usecase_id}/registerFiles/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"streams" : [ {
"url" : "...",
"id" : "...",
"filename" : "..."
}, {
"url" : "...",
"id" : "...",
"filename" : "..."
} ],
"attributes" : {
"property1" : { },
"property2" : { }
},
"fieldName" : "...",
"fieldDefinitionPath" : "...",
"clashOption" : "APPEND",
"toSetAccess" : {
"_policy" : "OPEN",
"_license" : "..."
},
"parentPath" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "OK",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | Access (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
PUT /srv/projects/{usecase_id}/setAccess/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"_policy" : "EMBARGOED",
"_license" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "ERROR",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| usecase_id | path |
| media type | data type |
|---|---|
| application/json | StepExecutionRequest (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
POST /srv/projects/{usecase_id}/step/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"options" : {
"property1" : { },
"property2" : { }
},
"stepID" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "WARNING",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| relationship_id | path | |
| usecase_id | path | |
| target_id | query | |
| target_ucd | query |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
DELETE /srv/projects/{usecase_id}/{relationship}/{project_id}/{relationship_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "OK",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}
| name | type | description | default | constraints |
|---|---|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources | ||
| Content-Type | header | application/json | ||
| project_id | path | |||
| relationship_id | path | |||
| usecase_id | path | |||
| deep | query | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
GET /srv/projects/{usecase_id}/{relationship}/{project_id}/{relationship_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | |
| relationship_id | path | |
| usecase_id | path | |
| target_id | query | |
| target_ucd | query |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) |
PUT /srv/projects/{usecase_id}/{relationship}/{project_id}/{relationship_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_relationships" : [ {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
}, {
"_relationshipName" : "...",
"_targetUCD" : "...",
"_targetID" : "..."
} ],
"_id" : "...",
"_theDocument" : {
"property1" : { },
"property2" : { }
},
"_info" : {
"_lastEditInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_creationInfo" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_lock" : {
"_id" : "...",
"_operation" : "...",
"_info" : {
"_instant" : "...",
"_context" : { },
"_user" : { }
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_profileID" : "...",
"_lifecycleInformation" : {
"_lastOperationStatus" : "WARNING",
"_warningMessages" : [ "...", "..." ],
"_lastInvokedStep" : "...",
"_triggeredEvents" : [ {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
}, {
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING",
"event" : "..."
} ],
"_notes" : "...",
"_errorMessages" : [ "...", "..." ],
"_phase" : "..."
},
"_profileVersion" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
},
"_version" : {
"build" : "...",
"major" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS",
"minor" : 12345,
"stable" : true,
"originalValue" : "...",
"value" : "...",
"patch" : 12345
}
}