Skip to main content
POST/api/management/projects/{projectId}/proxies

Parameter

NameParameter typeTypeDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue

Responses

HTTP status codeReasonModel
401UnauthorizedError
409Resource already existsError
422Validation errorError
500Internal server errorError

Examples

Create a new proxy for a specific project

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Accept: application/json POST: /api/management/projects/website/proxies { "id": "7622b5f7-e245-4226-9e64-3aeafa930eae", "projectId": "movieDb", "name": "Thrillers section", "description": "Proxies current website thrillers section", "endpoints": { "*": { "server": "10.65.18.4", "ssl": true, "headers": { "host": "www.moviedb-oldsite.com" } }, "fr-FR": { "server": "10.65.18.4", "ssl": true, "headers": { "host": "www.moviedb.fr" } } }, "version": { "versionNo": "2.0", "created": "2020-02-13T10:15:12.1973648+01:00", "createdBy": "t.durden", "modified": "2020-02-13T10:15:12.1973648+01:00", "modifiedBy": "t.durden", "published": "2020-02-13T10:15:12.1973648+01:00", "publishedBy": "t.durden" } }

Still need help?

New support request