Meeting Type routes: publish
The Meeting Type Verbs publish as api.sb routes, with inputs, result, refusals and an example.
Reference for Meeting Type, one group of Meeting Type routes.
MeetingType.publish
Publish puts a Meeting Type’s booking link live on the Startup’s Domain, where each pick books a Meeting into its Availability. Verb page.
POST /{namespace}/ meeting-types/ {meetingType}/ publishPath: meetingType. Emits MeetingType.published.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
meetingType | Meeting Type | required | The Meeting Type to publish. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
meetingType | Meeting Type | required | The Meeting Type, with its booking link in url. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
curl -X POST https: //api.sb/ leaseline.app/ meeting-types/ mtgtype_qw2d5yGLVN/ publish \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"{
"api": "https: //api.sb/ leaseline.app",
"meetingType": {
"$id": "https: //api.sb/ leaseline.app/ meeting-types/ mtgtype_qw2d5yGLVN",
"$type": "MeetingType",
"name": "Problem interview",
"duration": 20,
"medium": "video",
"availability": "availability_8Zj0a7vvRl"
},
"action": {
"$id": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG",
"operation": "MeetingType.publish",
"status": "done"
},
"links": {
"self": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG"
}
}