Comment on page
💡 Every time you use the OAuth credentials, every project will be created on behalf of the registered user’s credentials. This will be beneficial if you want to create multiple projects, and the project owner will always be the same.
We are introducing a new endpoint for creating a project. For full documentation on this new mutation, please visit here. We will be maintaining support (bug report and fixes) for the current mutation
launchTextProjectAsyncup to March 31st, 2024. Afterwards,
launchTextProjectAsyncwill remain up and functional until June 30th, 2024 to give users additional time for migration. After June 30th, we will be removing the mutation and the related input from our GraphQL schema definitions.
Since it's an asynchronous process, the response is only information about the job, not the created project. You would have to check the job periodically to make sure whether the project is successfully created.
Since the project creation is quite complex, it's recommended to configure the payload of the API request by following these steps.
- 1.Use the Project Creation Wizard (PCW) first. You can try all the way until a project is created and make sure the result is as expected. Then, open the PCW and configure the exact same way as before until the last step.
- 2.Once you are sure with the configuration, click the
View Scriptin the top right corner of the page.
- 3.Then, you can just copy and paste the whole JSON object as the payload when requesting the GraphQL API.
As you can see on the input API docs, there is
documentsattribute which accept array of CreateTextDocumentInput. Map the uploaded file to the
fileattribute on this object for each documents that will be used in the project.
Last modified 9d ago