Mock APIs
Teams
Organisations
Data sources
Database connections
Usage
Access control
Stub Mappings
- GETGet all stub mappings
- POSTCreate a new stub mapping
- DELDelete all stub mappings
- POSTReset stub mappings
- POSTPersist stub mappings
- POSTImport stub mappings
- GETGet stub mapping by ID
- PUTUpdate a stub mapping
- DELDelete a stub mapping
- POSTFind stub mappings matching metadata
- POSTDelete stub mappings matching metadata
Requests
- GETGet all requests in journal
- DELDelete all requests in journal
- GETGet request by ID
- DELDelete request by ID
- POSTEmpty the request journaldeprecated
- POSTCount requests by criteria
- POSTRemove requests by criteria
- POSTDelete requests mappings matching metadata
- POSTFind requests by criteria
- GETFind unmatched requests
OpenAPI
Imports
Teams
Get all teams in an organisation
GET
/
v1
/
organisations
/
{organisationId}
/
teams
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId}/teams \
--header 'Authorization: Basic <encoded-value>'
{
"teams": [
{
"id": "p9e4r",
"aclSubject": "dyv8j",
"aclObject": "626vg",
"name": "Elite Team",
"links": {
"organisation": "/v1/organisations/mgk7g",
"aclSubject": "/v1/acl/subjects/dyv8j",
"aclObject": "/v1/acl/objects/626vg",
"acl": "/v1/teams/p9e4r/acl{?subjectId}"
}
}
]
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Response
200
application/json
200 response
The response is of type object
.
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/organisations/{organisationId}/teams \
--header 'Authorization: Basic <encoded-value>'
{
"teams": [
{
"id": "p9e4r",
"aclSubject": "dyv8j",
"aclObject": "626vg",
"name": "Elite Team",
"links": {
"organisation": "/v1/organisations/mgk7g",
"aclSubject": "/v1/acl/subjects/dyv8j",
"aclObject": "/v1/acl/objects/626vg",
"acl": "/v1/teams/p9e4r/acl{?subjectId}"
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.