/apps/{owner}/{project_id}
This call copies all the apps from a specified project into another project. This can be useful if you are migrating apps from one project to another.
https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/apps/{owner}/{project_id}
Request
Example request
POST /v2/apps/RFranklin/my-project?from=RFranklin/test-api-project HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X POST "https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/apps/RFranklin/my-project?from=RFranklin/test-api-project"
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your authentication token. |
Path parameters
Name | Description |
---|---|
project_id | The ID of the project you are copying to. |
owner required | The owner of the project you are copying from. |
Query parameters
Name | Data type | Description |
---|---|---|
fields | string | Selector specifying a subset of fields to include in the response. |
from | string | Project specified in the form {owner}/{id} from which you want to copy. |
Response
See a list of response codes that may be contained in the body of the response.