Creating Projects via API
Unlike the previous versions of Microreact, creating project via API requires an API access token.
Create Project
POST
https://microreact.org/api/projects/create/
Query Parameters
Name
Type
Description
access
String
When set to private
, the created project will be set to private.
Headers
Name
Type
Description
Content-Type
String
Should be
application/json; charset=utf-8
Access-Token
String
An API access token.
Request Body
Name
Type
Description
Object
A valid
.microreact
JSON document
Response
A JSON document which include the ID and the URL of the project.
{
"id": "gb7RzDg87aJK2yGAqQiaiu",
"url": "https://microreact.org/project/gb7RzDg87aJK2yGAqQiaiu"
}
Example
curl \
--header "Content-Type: application/json; charset=utf-8" \
--header "Access-Token: eyJhbGciOiJIUzUxMiJ9..." \
--data "@project.microreact" \
https://microreact.org/api/projects/create
Last updated
Was this helpful?