ConventionJson

This is for JSON data "fields" used by a Convention. ConventionJsons are accessed via /api/conventionjson.

Properties

See "Object Properties" in Introduction for basic shared properties.

Complete details in ConventionJsonProperties.

Related Objects

See "Related Objects" in Introduction for how to use them.

convention

The Convention this conventionjson belongs to.

Allowed "field" names

These are the only names allowed for JSON data associated with a convention.

You can also _include these names in a GET request for a Convention to include the JSON data with the response.

event_age_groups

Requires the scheduling privilege to edit.

event_durations

Requires the scheduling privilege to edit.

metatags

Requires the pages privilege to edit.

exhibitor_custom_fields

Requires the exhibitors privilege to edit.

volunteer_custom_fields

Requires the volunteers privilege to edit.

Services

The services used to fetch and manipulate conventionjsons.

Search ConventionJsons

Searching across all conventions is not enabled. To search within a single convention's ConventionJsons, see "Relationships" in Convention.

Create ConventionJson

 POST /api/conventionjson
Required Params
session_id

Passed in the request's Cookie header.

convention_id
name
json

Returns the same as a normal read.

Read ConventionJson

 GET /api/conventionjson/xxx

Returns:

 {
   "id" : "xxx",
   "name" : "metatags",
   "json" : [ .. ],
   ...
 }

Update ConventionJson

 PUT /api/conventionjson/xxx

Returns the same as a normal read.

Delete ConventionJson

 DELETE /api/conventionjson/xxx

Returns:

 {
   "success" : 1
 }