You can use this call to create a project. All details, including project name, description and funding source are specified as part of the JSON, sent as the body of the request. This call returns details of the project.
project_new( auth_token = NULL, name = NULL, description = NULL, billing_group_id = NULL, ... )
auth_token | auth token |
---|---|
name | Name of the project you wish to create. |
description | Description of the project you wish to create. |
billing_group_id | ID of the billing group you wish to use for this project. |
... | parameters passed to sbgapi function |
parsed list of the returned json
token = '420b4672ebfc43bab48dc0d18a32fb6f' req = project_new(token, name = 'Test API project', description = 'My first API project', billing_group_id = '5b6d5e71-dff8-42fc-8583-500d858f1093')#> Error: HTTP Status 404: /1.1/project not found