{ "opencollection": "1.0.0", "info": { "name": "The Mighty Networks Admin AbuseReports CustomFields API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "CustomFields", "type": "folder" }, "items": [ { "info": { "name": "Return custom fields of the given network", "type": "http" }, "http": { "method": "GET", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields", "params": [ { "name": "response_type", "value": "", "type": "query", "description": "Filter by response type. Valid values: tag, badge, dropdown_single_select, dropdown_multi_select, text_short, text_long. Invalid values are ignored." }, { "name": "page", "value": "", "type": "query", "description": "Page number for pagination" }, { "name": "per_page", "value": "", "type": "query", "description": "Items per page (max 100)" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Return custom fields of the given network" }, { "info": { "name": "Create a new custom field", "type": "http" }, "http": { "method": "POST", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields", "params": [ { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new custom field" }, { "info": { "name": "Return a single custom field by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the custom field" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Return a single custom field by ID" }, { "info": { "name": "Update a custom field", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the custom field" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a custom field" }, { "info": { "name": "Update a custom field", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the custom field" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a custom field" }, { "info": { "name": "Delete a custom field", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mn.co/admin/v1/networks/:network_id/custom_fields/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the custom field" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Delete a custom field" } ] } ], "bundled": true }