{ "opencollection": "1.0.0", "info": { "name": "The Mighty Networks Admin AbuseReports Invites API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Invites", "type": "folder" }, "items": [ { "info": { "name": "Return all invites for the given plan", "type": "http" }, "http": { "method": "GET", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan" }, { "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 all invites for the given plan" }, { "info": { "name": "Create an invite to a plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan to invite to" }, { "name": "email", "value": "", "type": "query", "description": "The email address to invite" }, { "name": "user_id", "value": "", "type": "query", "description": "The user ID to invite" }, { "name": "message", "value": "", "type": "query", "description": "Optional invite message" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Create an invite to a plan" }, { "info": { "name": "Return a single invite by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites/:id/", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan" }, { "name": "id", "value": "", "type": "path", "description": "The ID of the invite" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Return a single invite by ID" }, { "info": { "name": "Resend an existing invite", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites/:id/", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan" }, { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to resend" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Resend an existing invite" }, { "info": { "name": "Resend an existing invite", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites/:id/", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan" }, { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to resend" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Resend an existing invite" }, { "info": { "name": "Revoke an unaccepted invite", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/invites/:id/", "params": [ { "name": "plan_id", "value": "", "type": "path", "description": "The ID of the plan" }, { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to revoke" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Revoke an unaccepted invite" }, { "info": { "name": "Returns a list of invitations for the current network", "type": "http" }, "http": { "method": "GET", "url": "https://api.mn.co/admin/v1/networks/:network_id/invites", "params": [ { "name": "email", "value": "", "type": "query", "description": "Filter invites by recipient email address" }, { "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": "Returns a list of invitations for the current network" }, { "info": { "name": "Create a new invite and send an email to the intended recipient", "type": "http" }, "http": { "method": "POST", "url": "https://api.mn.co/admin/v1/networks/:network_id/invites", "params": [ { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new invite and send an email to the intended recipient" }, { "info": { "name": "Update an invite", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mn.co/admin/v1/networks/:network_id/invites/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to update" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an invite" }, { "info": { "name": "Update an invite", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.mn.co/admin/v1/networks/:network_id/invites/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to update" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an invite" }, { "info": { "name": "Delete an unaccepted invite", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mn.co/admin/v1/networks/:network_id/invites/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the invite to update" }, { "name": "network_id", "value": "", "type": "path", "description": "The Network's unique integer ID, or subdomain" } ] }, "docs": "Delete an unaccepted invite" } ] } ], "bundled": true }