The Class ProfiledDocuments.
List.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | Iterable (JSON) | the iterable |
GET /srv/projects/{usecase_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }
Creates the new.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | map of object (JSON) | the d |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
POST /srv/projects/{usecase_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "OK",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Gets the configuration.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | Configuration (JSON) | the configuration |
GET /srv/projects/{usecase_id}/configuration
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"context" : "...",
"indexes" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"archives" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"warningMessages" : [ "...", "..." ],
"profile_id" : "...",
"errorMessages" : [ "...", "..." ],
"last_updated_time" : "...",
"status" : "ERROR"
}
Query.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | the query string |
| media type | data type | description |
|---|---|---|
| application/json | Iterable (JSON) | the iterable |
POST /srv/projects/{usecase_id}/query
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
{ }
Search.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | the filter |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | the string |
POST /srv/projects/{usecase_id}/search
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
...
Delete.
| 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 | the id | ||
| usecase_id | path | the profile ID | ||
| force | query | the force | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | boolean (JSON) | the boolean Added by Francesco M. |
DELETE /srv/projects/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
Gets the by id.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the by id |
GET /srv/projects/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "OK",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Patch.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the document id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | map of object (JSON) | the d |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
PATCH /srv/projects/{usecase_id}/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "WARNING",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Update.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the document id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | map of object (JSON) | the d |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
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
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "WARNING",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "IVY"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Delete file set. the Authorization must be a VRE token
| name | type | description | default | constraints |
|---|---|---|---|---|
| Authorization | header | VRE Bearer token, see https://dev.d4science.org/how-to-access-resources | ||
| Content-Type | header | application/json | ||
| project_id | path | the id | ||
| usecase_id | path | the profile ID | ||
| force | query | the force | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | the path must be passed as text in the body |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project Added by Francesco M |
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
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "OK",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "STRICT"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Force unlock.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
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
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "WARNING",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Register file set.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | RegisterFileSetRequest (JSON) | the request |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
POST /srv/projects/{usecase_id}/registerFiles/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"clashOption" : "MERGE_EXISTING",
"fieldName" : "...",
"toSetAccess" : {
"_policy" : "RESTRICTED",
"_license" : "..."
},
"streams" : [ {
"filename" : "...",
"url" : "...",
"id" : "..."
}, {
"filename" : "...",
"url" : "...",
"id" : "..."
} ],
"parentPath" : "...",
"attributes" : {
"property1" : { },
"property2" : { }
},
"fieldDefinitionPath" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "OK",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Sets the access policy.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| usecase_id | path | the profile ID |
| media type | data type | description |
|---|---|---|
| application/json | Access (JSON) | the to set |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
PUT /srv/projects/{usecase_id}/setAccess/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"_policy" : "OPEN",
"_license" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "WARNING",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Perform step.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| usecase_id | path | the profile ID |
| media type | data type |
|---|---|
| application/json | PerformStepRequest (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
POST /srv/projects/{usecase_id}/step/{project_id}
Content-Type: application/json
Accept: application/json
Authorization: ...
{
"stepID" : "...",
"message" : "...",
"options" : {
"property1" : { },
"property2" : { }
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "EMBARGOED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "WARNING"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "WARNING",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Delete relation.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| relationship_id | path | the relationship id |
| usecase_id | path | the profile ID |
| target_id | query | the target id |
| target_ucd | query | the target UCD |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
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
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "RESTRICTED",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "ERROR",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "NPM"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}
Gets the relationship chain.
| 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 | the id | ||
| relationship_id | path | the relationship id | ||
| usecase_id | path | the profile ID | ||
| deep | query | the deep | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | the relationship chain |
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
...
Sets the relation.
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| Content-Type | header | application/json |
| project_id | path | the id |
| relationship_id | path | the relationship id |
| usecase_id | path | the profile ID |
| target_id | query | the target id |
| target_ucd | query | the target UCD |
| media type | data type | description |
|---|---|---|
| application/json | Project (JSON) | the project |
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
{
"_info" : {
"_creationInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_lastEditInfo" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_access" : {
"_policy" : "OPEN",
"_license" : "..."
}
},
"_identificationReferences" : [ {
"property1" : { },
"property2" : { }
}, {
"property1" : { },
"property2" : { }
} ],
"_lifecycleInformation" : {
"_triggeredEvents" : [ {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "ERROR"
}, {
"event" : "...",
"errorMessages" : [ "...", "..." ],
"warningMessages" : [ "...", "..." ],
"lastOperationStatus" : "OK"
} ],
"_errorMessages" : [ "...", "..." ],
"_lastOperationStatus" : "OK",
"_notes" : "...",
"_warningMessages" : [ "...", "..." ],
"_phase" : "...",
"_lastInvokedStep" : "..."
},
"_version" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "LOOSE"
},
"_relationships" : [ {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
}, {
"_targetUCD" : "...",
"_relationshipName" : "...",
"_targetID" : "..."
} ],
"_lock" : {
"_id" : "...",
"_info" : {
"_context" : { },
"_user" : { },
"_instant" : "..."
},
"_operation" : "..."
},
"_id" : "...",
"_profileID" : "...",
"_profileVersion" : {
"value" : "...",
"major" : 12345,
"originalValue" : "...",
"patch" : 12345,
"stable" : true,
"build" : "...",
"minor" : 12345,
"suffixTokens" : [ "...", "..." ],
"type" : "COCOAPODS"
},
"_theDocument" : {
"property1" : { },
"property2" : { }
}
}