Beginner Reading #api-docs #readme #technical-reading

📄 Reading: Technical Documentation

3 exercises — read authentic API documentation and README files. Practice comprehension, True/False/Not Stated, and identifying key information.

Reading technical documentation: key strategies
  • Read error tables carefully — they define the contract
  • Look for qualifiers: "only when," "required if," "optional"
  • True/False/Not Stated: answer from the text only — not your prior knowledge
  • Identify required vs. optional parameters and dependencies
0 / 3 completed
1 / 3
📄 API Documentation
GET /users/{id}

Returns a single user object by ID.

**Path Parameters**

| Parameter | Type   | Required | Description            |
|-----------|--------|----------|------------------------|
| id        | string | Yes      | The unique user ID     |

**Response 200 OK**

```json
{
  "id": "u_8fkd92",
  "email": "alex@example.com",
  "role": "admin",
  "created_at": "2024-01-15T09:30:00Z"
}
```

**Error Responses**

| Status | Meaning                             |
|--------|--------------------------------------|
| 401    | Unauthorized — missing or invalid token |
| 403    | Forbidden — valid token, insufficient permissions |
| 404    | User not found                       |
According to the API documentation above, what happens if a client sends a valid authentication token but the user does not have permission to access the requested resource?