Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,35 @@ Demo tokens for testing:
- `demo-admin-token` - Admin user with full access
- `demo-user-token` - Regular user with limited access

## API Endpoints

### Health Check
- `GET /health` - Service health status

### Contracts
- `GET /api/v1/contracts` - List contracts (placeholder)

### Contract Metadata
- `POST /api/v1/contracts/:contractId/metadata` - Create metadata
- `GET /api/v1/contracts/:contractId/metadata` - List metadata with pagination
- `GET /api/v1/contracts/:contractId/metadata/:id` - Get single metadata
- `PATCH /api/v1/contracts/:contractId/metadata/:id` - Update metadata
- `DELETE /api/v1/contracts/:contractId/metadata/:id` - Delete metadata

See [docs/backend/contract-metadata-api.md](docs/backend/contract-metadata-api.md) for detailed API documentation.

## Authentication

The API uses Bearer token authentication. Include the token in the Authorization header:

```
Authorization: Bearer <your-auth-token>
```

Demo tokens for testing:
- `demo-admin-token` - Admin user with full access
- `demo-user-token` - Regular user with limited access

## Contributing

1. Fork the repo and create a branch: `git checkout -b feature/<ticket>-description`
Expand Down
Loading