Updating Projects via API

Update Project

POST https://microreact.org/api/projects/update/

Query Parameters

NameTypeDescription

project

string

The ID of the project to be updated (e.g.

gb7RzDg87aJK2yGAqQiai

)

Headers

NameTypeDescription

Content-Type

string

Should be

Content-Type application/json; charset=utf-8

Access-Token

string

An API access token.

Request Body

NameTypeDescription

object

A valid

.microreact

JSON document

{
  "id": "gb7RzDg87aJK2yGAqQiaiu",
  "url": "https://microreact.org/project/gb7RzDg87aJK2yGAqQiaiu"
}

See API Access Tokens

Example

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

Last updated