name: redirects description: '' endpoints: - httpMethods: - GET uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/redirects' metadata: groupName: redirects groupDescription: '' subgroup: '' subgroupDescription: '' title: index description: 'Get all redirects.' authenticated: true custom: [] headers: Authorization: 'Bearer YOUR-API-KEY' Content-Type: application/json Accept: application/json urlParameters: project_id: name: project_id description: 'The ID of the project.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] server_id: name: server_id description: 'The ID of the server.' required: true example: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] site_id: name: site_id description: 'The ID of the site.' required: true example: 11 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 site_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"error","to":"https:\/\/www.pfannerstill.com\/facere-est-totam-laudantium-in-illo-sequi","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":301,"from":"repellat","to":"http:\/\/gislason.biz\/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer Pava668DdZfk4cVEg3eb5h1' controller: null method: null route: null custom: [] - httpMethods: - POST uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/redirects' metadata: groupName: redirects groupDescription: '' subgroup: '' subgroupDescription: '' title: create description: 'Create a new redirect.' authenticated: true custom: [] headers: Authorization: 'Bearer YOUR-API-KEY' Content-Type: application/json Accept: application/json urlParameters: project_id: name: project_id description: 'The ID of the project.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] server_id: name: server_id description: 'The ID of the server.' required: true example: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] site_id: name: site_id description: 'The ID of the site.' required: true example: 11 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 site_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: from: name: from description: '' required: true example: vel type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] to: name: to description: '' required: true example: ea type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] mode: name: mode description: '' required: true example: 307 type: string enumValues: - 301 - 302 - 307 - 308 exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: from: vel to: ea mode: 307 fileParameters: [] responses: - status: 200 content: null headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer 14Vg6Dce6aEh8kPbav5Z3fd' controller: null method: null route: null custom: [] - httpMethods: - DELETE uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/redirects/{redirect_id}' metadata: groupName: redirects groupDescription: '' subgroup: '' subgroupDescription: '' title: delete description: 'Delete a redirect.' authenticated: true custom: [] headers: Authorization: 'Bearer YOUR-API-KEY' Content-Type: application/json Accept: application/json urlParameters: project_id: name: project_id description: 'The ID of the project.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] server_id: name: server_id description: 'The ID of the server.' required: true example: 29 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] site_id: name: site_id description: 'The ID of the site.' required: true example: 11 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] redirect_id: name: redirect_id description: 'The ID of the redirect.' required: true example: 9 type: integer enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanUrlParameters: project_id: 1 server_id: 29 site_id: 11 redirect_id: 9 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 204 content: null headers: [] description: '' custom: [] responseFields: [] auth: - headers - Authorization - 'Bearer vabZDk1c6fV46Ea3edhP8g5' controller: null method: null route: null custom: []