用于用户管理的api
-
Request (application/json)
{ "username": "apiMockService", "password": "123456", "nick": "apiMock" }
-
Response 200
{ "id": 3, "username": "1", "password": "1", "nick": "1", "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 用户id
-
Response 200 (application/json)
{ "id": 3, "username": "1", "password": "1", "nick": "1", "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 用户id
-
Response 204
-
Parameters
- id (string) - 用户id
-
Request (application/json)
{ "username": "apiMockService", "password": "123456", "nick": "apiMock" }
-
Response 200
{ "id": 3, "username": "1", "password": "1", "nick": "1", "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
用于项目管理的api
-
Request (application/json)
{ "name": "apiMockService", "alias": "123456", "description": "apiMock" }
-
Response 200
{ "id": 3, "name": "apiMockService", "alias": "123456", "description": "apiMock" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 项目id
-
Response 200 (application/json)
{ "id": 3, "name": "apiMockService", "alias": "123456", "description": "apiMock" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 项目id
-
Response 204
-
Parameters
- id (string) - 项目id
-
Request (application/json)
{ "name": "apiMockService", "alias": "123456", "description": "apiMock" }
-
Response 200
{ "id": 3, "name": "apiMockService", "alias": "123456", "description": "apiMock" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
用于接口管理的api
-
Request (application/json)
{ "name": "apiMockService", "content": "123456" }
-
Response 200
{ "id": 3, "name": "apiMockService", "content": "123456" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 接口id
-
Response 200 (application/json)
{ "id": 3, "name": "apiMockService", "content": "123456" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }
-
Parameters
- id (string) - 接口id
-
Response 204
-
Parameters
- id (string) - 接口id
-
Request (application/json)
{ "name": "apiMockService", "content": "123456" }
-
Response 200
{ "id": 3, "name": "apiMockService", "content": "123456" "updatedAt": "2017-10-29T02:17:12.553Z", "createdAt": "2017-10-29T02:17:12.553Z" }