Teams
Get a team by ID
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
OpenAPI
Imports
Teams
Get a team by ID
GET
/
v1
/
teams
/
{teamId}
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/teams/{teamId} \
--header 'Authorization: Basic <encoded-value>'
{
"team": {
"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
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/teams/{teamId} \
--header 'Authorization: Basic <encoded-value>'
{
"team": {
"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}"
}
}
}