Updating Projects via API

post
Update Project

https://microreact.org/api/projects/update/
Request
Response
Request
Headers
Content-Type
required
string
Should be Content-Type application/json; charset=utf-8
Access-Token
required
string
An API access token.
Query Parameters
project
required
string
The ID of the project to be updated (e.g. gb7RzDg87aJK2yGAqQiai)
Body Parameters
required
object
A valid .microreact JSON document
Response
200: OK
A JSON document which include the ID and the URL of the project.
{
"id": "gb7RzDg87aJK2yGAqQiaiu",
"url": "https://microreact.org/project/gb7RzDg87aJK2yGAqQiaiu"
}

Example

cURL + Bash
cURL + Bash
curl \
--header "Content-Type: application/json; charset=utf-8" \
--header "Access-Token: eyJhbGciOiJIUzUxMiJ9..." \
--data "@project.microreact" \
https://microreact.org/api/projects/update?project=gb7RzDg87aJK2yGAqQiai