curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/users/{userId}/apis \
--header 'Authorization: <api-key>'{
"links": {
"self": "/v1/users/9gd5l/apis?limit=20&page=1"
},
"meta": {
"start": 1,
"end": 1,
"total": 1,
"page": 1,
"totalPages": 1
},
"mockApis": [
{
"id": "63om1",
"aclObject": "1z6rd",
"name": "Example Mock API",
"description": "An API consisting of assorted stubs.",
"state": "RUNNING",
"adminSecurityEnabled": true,
"exportState": "EXPORT_ALLOWED",
"createdDate": "2024-08-23T20:15:32.432385Z",
"openApiGitIntegration": "63om1-openapi-integration-git",
"links": {
"self": "/v1/mock-apis/63om1",
"requests": "/v1/mock-apis/63om1/requests",
"mappings": "/v1/mock-apis/63om1/mappings",
"scenarios": "/v1/mock-apis/63om1/scenarios",
"recordings": {
"start": "/v1/mock-apis/63om1/recordings/start",
"stop": "/v1/mock-apis/63om1/recordings/stop",
"status": "/v1/mock-apis/63om1/recordings/status",
"snapshot": "/v1/mock-apis/63om1/recordings/snapshot"
},
"imports": "/v1/mock-apis/63om1/imports",
"organisation": "/v1/organisations/mgk7g",
"aclObject": "/v1/acl/objects/1z6rd",
"aclRoles": "/v1/acl/objects/1z6rd/roles",
"invitations": "/v1/mock-apis/63om1/invitations",
"acl": "/v1/mock-apis/63om1/acl{?subjectId}",
"versionHistoryCommits": "/v1/mock-apis/63om1/version-history/commits"
},
"baseUrl": "https://63om1.wiremockapi.cloud",
"domainNames": [
{
"domainName": "63om1.wiremockapi.cloud",
"urls": [
{
"url": "https://63om1.wiremockapi.cloud"
},
{
"url": "http://63om1.wiremockapi.cloud"
}
]
}
],
"domains": [
"63om1.wiremockapi.cloud"
]
}
],
"aclObjects": [
{
"id": "1z6rd",
"objectType": "mock-api",
"name": "Example Mock API",
"aclGrants": [
"9gd5l-1z6rd-mock_api_admin"
],
"links": {
"self": "/v1/acl/objects/1z6rd",
"grants": "/v1/acl/grants?aclObjectId=1z6rd"
}
}
],
"openApiGitIntegrations": []
}curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/users/{userId}/apis \
--header 'Authorization: <api-key>'{
"links": {
"self": "/v1/users/9gd5l/apis?limit=20&page=1"
},
"meta": {
"start": 1,
"end": 1,
"total": 1,
"page": 1,
"totalPages": 1
},
"mockApis": [
{
"id": "63om1",
"aclObject": "1z6rd",
"name": "Example Mock API",
"description": "An API consisting of assorted stubs.",
"state": "RUNNING",
"adminSecurityEnabled": true,
"exportState": "EXPORT_ALLOWED",
"createdDate": "2024-08-23T20:15:32.432385Z",
"openApiGitIntegration": "63om1-openapi-integration-git",
"links": {
"self": "/v1/mock-apis/63om1",
"requests": "/v1/mock-apis/63om1/requests",
"mappings": "/v1/mock-apis/63om1/mappings",
"scenarios": "/v1/mock-apis/63om1/scenarios",
"recordings": {
"start": "/v1/mock-apis/63om1/recordings/start",
"stop": "/v1/mock-apis/63om1/recordings/stop",
"status": "/v1/mock-apis/63om1/recordings/status",
"snapshot": "/v1/mock-apis/63om1/recordings/snapshot"
},
"imports": "/v1/mock-apis/63om1/imports",
"organisation": "/v1/organisations/mgk7g",
"aclObject": "/v1/acl/objects/1z6rd",
"aclRoles": "/v1/acl/objects/1z6rd/roles",
"invitations": "/v1/mock-apis/63om1/invitations",
"acl": "/v1/mock-apis/63om1/acl{?subjectId}",
"versionHistoryCommits": "/v1/mock-apis/63om1/version-history/commits"
},
"baseUrl": "https://63om1.wiremockapi.cloud",
"domainNames": [
{
"domainName": "63om1.wiremockapi.cloud",
"urls": [
{
"url": "https://63om1.wiremockapi.cloud"
},
{
"url": "http://63om1.wiremockapi.cloud"
}
]
}
],
"domains": [
"63om1.wiremockapi.cloud"
]
}
],
"aclObjects": [
{
"id": "1z6rd",
"objectType": "mock-api",
"name": "Example Mock API",
"aclGrants": [
"9gd5l-1z6rd-mock_api_admin"
],
"links": {
"self": "/v1/acl/objects/1z6rd",
"grants": "/v1/acl/grants?aclObjectId=1z6rd"
}
}
],
"openApiGitIntegrations": []
}A filter for the retrieved items. Only items whose name contains the filter value will be retrieved. The filter is case insensitive.
x >= 1x >= 1200 response
Show child attributes
The display name of the mock API.
Whether the API is running or stopped.
Whether security is enabled on the mock API's /__admin/* endpoints.
Show child attributes
The link to the access control list for this mock API.
The list of domain names that can be used to address this mock API.
The type of the mock API. Defaults to the "unstructured" type if not specified.
openapi, grpc, graphql The ACL object ID of the entity.
Show child attributes
The starting index of the current page
x >= 120
The ending index of the current page
x >= 129
The total number of items available
x >= 148
The current page number
x >= 13
The total number of pages available
x >= 15