Status | ||||
---|---|---|---|---|
|
Status | ||||||
---|---|---|---|---|---|---|
|
Excerpt | ||||||
---|---|---|---|---|---|---|
|
...
METHOD: GET
ENDPOINT: /api/v2/forms/:form_id/groups/
AUTHENTICATED: No
Query Parameters (Not implemented yet)
Name | Type | Description |
---|---|---|
order | Optional | Returned groups will be sorted in this order: ASC or DESC. Default: DESC |
order_by | Optional | Returned groups will be sorted by this field. Default: created |
limit | Optional | Limit number of results returned. Default: 50. Max: 500 |
offset | Optional | groups returned will be offset by this number of results |
...
METHOD: GET
ENDPOINT: /api/v2/forms/:form_id/groups/:id
AUTHENTICATED: Yes
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being updated. |
...
METHOD: PUT
ENDPOINT: /api/v2/forms/:form_id/groups/:id
AUTHENTICATED: Yes
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being updated. |
...
METHOD: DELETE
ENDPOINT: /api/v2/forms/:form_id/groups/:id
AUTHENTICATED: YES
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being deleted. |
...
The request data should be JSON object, containing either the full representation of a new attribute, or the id of an existing attribute.
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being updated. |
Create a new attribute and add to the group
Example Request
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
POST http://ushv3.dev/api/v2/forms/1/groups/1/attributes
|
...
METHOD: GET
ENDPOINT: /api/v2/forms/:form_id/groups/:group_id/attributes
AUTHENTICATED: Yes
Query Parameters (Not implemented)
Name | Type | Description |
---|---|---|
order | Optional | Returned groups will be sorted in this order: ASC or DESC. Default: DESC |
order_by | Optional | Returned groups will be sorted by this field. Default: created |
limit | Optional | Limit number of results returned. Default: 50. Max: 500 |
offset | Optional | groups returned will be offset by this number of results |
...
METHOD: GET
ENDPOINT: /api/v2/forms/:form_id/groups/:group_id/attributes/:id
AUTHENTICATED: Yes
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being updated. |
...
Note: This just removes the attribute from the group, it doesn't delete the attribute entirely.
Query Parameters
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the group being updated. |
...