agents defs from DB
This commit is contained in:
@@ -1,982 +1,12 @@
|
||||
{
|
||||
"success": true,
|
||||
"error": "",
|
||||
"payload": [
|
||||
{
|
||||
"resource": "services",
|
||||
"actions": [
|
||||
{
|
||||
"action": "getServices",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/apis/services",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/files",
|
||||
"actions": [
|
||||
{
|
||||
"action": "get",
|
||||
"availableMethod": {
|
||||
"uri": "/files/{id}",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "company",
|
||||
"actions": [
|
||||
{
|
||||
"action": "revoke",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/company/{pic}/token",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/company/{pic}/token",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "grant",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/company/{pic}/token",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "programs",
|
||||
"actions": [
|
||||
{
|
||||
"action": "removeProgram",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/programs",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getPrograms",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/programs",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "addProgram",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/programs",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "roles",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/roles",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "tokens",
|
||||
"actions": [
|
||||
{
|
||||
"action": "consume",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/consume",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getSettings",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/settings",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "setSettings",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/settings",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "view",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/{tokenid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "assign",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/bypass",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "XXXtokens",
|
||||
"actions": [
|
||||
{
|
||||
"action": "consume",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/consume",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getSettings",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/settings",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "setSettings",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/settings",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "view",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/tokens/{tokenid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "assign",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/bypass",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "users",
|
||||
"actions": [
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/users/search",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "revoke",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/users/{id}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "get",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/users/{id}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/users",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/bypass/users",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/S3Files",
|
||||
"actions": [
|
||||
{
|
||||
"action": "viewDocument",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/vod/source?file=",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "viewVideo",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/vod/manifest?file=",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "uploadPdf",
|
||||
"availableMethod": {
|
||||
"getSignedUrl": "https://__host__/stable/vod/source?file=",
|
||||
"getSignedMethod": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "uploadVideo",
|
||||
"availableMethod": {
|
||||
"getSignedUrl": "https://__host__/stable/vod/source?file=",
|
||||
"getSignedMethod": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "checkVideoConversion",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/vod/jobs",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations",
|
||||
"actions": [
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "apply",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}",
|
||||
"actions": [
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/members",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "grant",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "revoke",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "add",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/users/search",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/members/{uid}",
|
||||
"actions": [
|
||||
{
|
||||
"action": "grant",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "revoke",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/coachings",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/coachings",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://eic__stage__.eismea.eu/mydashboard/mycoaching",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/proposals",
|
||||
"actions": [
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "apply",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/proposals/{pid}",
|
||||
"actions": [
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "organisationUpdate",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "clone",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "complain",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/complaint",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/proposals/{pid}/members",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/members",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "grant",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "revoke",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/members/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/proposals/{pid}/complaints",
|
||||
"actions": [
|
||||
{
|
||||
"action": "get",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/complaints",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/complaints",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/organisations/{pic}/proposals/{pid}/team",
|
||||
"actions": [
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/team",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/team/{uid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/organisations/{pic}/proposals/{pid}/team/{uid}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "explorer",
|
||||
"actions": [
|
||||
{
|
||||
"action": "filters",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/storage/entities",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/storage/entities",
|
||||
"method": "POST"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/zammad/tickets",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/zammad/tickets",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/zammad/tickets",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "get",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/zammad/tickets/{id}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/zammad/tickets/{id}/articles",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "download",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/files/stable/zammad/tickets/{ticid}/articles/{artid}/attachments/{attid}",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/soe",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "members",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/members",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "project",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/organisations/{pic}/projects/{projectId}/fundings",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"action": "create",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/organisations/{pic}/projects/{projectId}/fundings",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "funding",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/organisations/{pic}/projects/{projectId}/fundings/{fundingId}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/organisations/{pic}/projects/{projectId}/fundings/{fundingId}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "update",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/soe/organisations/{pic}/projects/{projectId}/fundings/{fundingId}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/icmp",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getProject",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getProjectDocuments",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}/documents",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getProjectContributors",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}/contributors",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getProjectNode",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}/{node}/{nodeId}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "saveProjectNode",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}/{node}/{nodeId}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "saveProjectNodeComments",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/icmp/projects/{projectId}/{node}/{nodeId}/comments",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/mailing",
|
||||
"actions": [
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "save",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "test",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/test",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "schedule",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/mailing/folders",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/folders",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "add",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/folders",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/folders",
|
||||
"method": "DELETE"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/mailing/{mid}/recipients",
|
||||
"actions": [
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/recipients",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/mailing/{mid}/bounces",
|
||||
"actions": [
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/bounces",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/mailing/{mid}/imports",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/imports",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "save",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/imports",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/imports/{iid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/mailing/{mid}/imports",
|
||||
"method": "DELETE"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/templates",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "search",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getImages",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/images",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "addImage",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/images",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "deleteImage",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/images/{pid}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "save",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "read",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/{tid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/{tid}",
|
||||
"method": "DELETE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "testTemplateMail",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/{tid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "uploadTplImage",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/public/{tplImgName}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/templitor/folders",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/folders",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "add",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/folders",
|
||||
"method": "PUT"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "delete",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/templitor/folders",
|
||||
"method": "DELETE"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"resource": "/contactMgr",
|
||||
"actions": [
|
||||
{
|
||||
"action": "list",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/contactMgr",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "get",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/contactMgr/{qcid}",
|
||||
"method": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "getFields",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/contactMgr/{qcid}/fields",
|
||||
"method": "POST"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": "execute",
|
||||
"availableMethod": {
|
||||
"uri": "https://__host__/stable/contactMgr/{qcid}",
|
||||
"method": "PUT"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"payload": {
|
||||
"/agents": {
|
||||
"getSprites": {
|
||||
"uri": "/api/agent-sprites/{group}",
|
||||
"method": "GET"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user