Endpoint

GET

Info

Parameters

1

Response

4
1openapi: 3.0.3
2info:
3 title: Mock API
4 version: 1.0.0
5 description: Generated by MockAPI Designer
6paths:
7 /api/users/{id}:
8 get:
9 summary: Get user by ID
10 description: Retrieves a single user by their unique identifier
11 parameters:
12 - name: id
13 in: path
14 required: true
15 schema:
16 type: string
17 responses:
18 '200':
19 description: Successful response
20 content:
21 application/json:
22 schema:
23 type: object
24 properties:
25 id:
26 type: string
27 example: usr_123abc
28 name:
29 type: string
30 example: John Doe
31 email:
32 type: string
33 example: john@example.com
34 created_at:
35 type: string
36 example: '2024-01-15T10:30:00Z'
37 required:
38 - id
39 - name
40 - email
41 - created_at
42