SyncPilledDocs

Add an app

POST
/v1/admin/apps

Its people sign in with the provider named in sign_in. Collections and per-person limits are refused one change at a time, which SyncPilled's Swift package 0.2 and later handle; set them only once the app's clients do.

Authorization

AuthorizationBearer <token>

A management key, made in the console. It acts as an admin of its account.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/apps" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "sign_in": {      "provider": "firebase",      "project_id": "string"    }  }'
{  "id": "string",  "name": "string",  "created_at": "2019-08-24T14:15:22Z",  "sign_in": {    "issuer": "string",    "audience": "string",    "jwks_url": "string",    "allow_anonymous": true  },  "collections": [    "string"  ],  "limits": {    "record_bytes": 0,    "file_bytes": 0,    "person_record_bytes": 0,    "person_file_bytes": 0  }}