feat: Rebrand to License Authority with Govt of Goa branding

- Replace TLAS with License Authority throughout documentation
- Add Government of Goa emblem/logo (Ashoka Chakra style)
- Update frontend branding to match documentation
- Add configurable Swagger API link via VITE_API_BASE_URL env var
- Fix Docker build for VitePress (git dependency, .dockerignore)
- Fix helmet security headers for HTTP deployments
- Add CORS support for VM deployment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mahi
2026-02-10 00:46:25 -04:00
parent 435889ee79
commit 6ec8d3236d
34 changed files with 203 additions and 113 deletions

View File

@@ -2,7 +2,7 @@
## Overview
TLAS uses OAuth 2.0 with JWT tokens for API authentication.
The platform uses OAuth 2.0 with JWT tokens for API authentication.
## Obtaining Credentials
@@ -15,7 +15,7 @@ Contact your administrator to receive:
```http
POST /auth/token HTTP/1.1
Host: api.tlas.gov.in
Host: api.license.gov.in
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&
@@ -41,7 +41,7 @@ Include token in Authorization header:
```http
GET /applications/APP-2026-00001 HTTP/1.1
Host: api.tlas.gov.in
Host: api.license.gov.in
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
```

View File

@@ -79,5 +79,5 @@ interface ILicenseNFT {
View transactions on the block explorer:
```
https://explorer.tlas.gov.in/tx/{transactionHash}
https://explorer.license.gov.in/tx/{transactionHash}
```

View File

@@ -2,15 +2,27 @@
## Overview
TLAS provides REST APIs for integrating with external systems. All APIs use JSON for request and response bodies.
The platform provides REST APIs for integrating with external systems. All APIs use JSON for request and response bodies.
## Base URL
```
Production: https://api.tlas.gov.in/v1
Staging: https://api-staging.tlas.gov.in/v1
Production: https://api.license.gov.in/v1
Staging: https://api-staging.license.gov.in/v1
```
## Interactive API Documentation
Explore and test APIs using our interactive Swagger UI:
**<ApiDocsLink />**
The Swagger documentation provides:
- Complete endpoint specifications
- Request/response schemas
- Interactive "Try it out" functionality
- Authentication testing
## Authentication
All API requests require authentication via Bearer token.
@@ -25,7 +37,7 @@ Obtain tokens through the authentication endpoint. See [Authentication](/develop
```http
POST /applications HTTP/1.1
Host: api.tlas.gov.in
Host: api.license.gov.in
Authorization: Bearer eyJhbGc...
Content-Type: application/json
@@ -92,9 +104,9 @@ X-RateLimit-Reset: 1707500000
- Java: Maven artifact `gov.in.license:license-authority-sdk`
## Documentation
- [Authentication](/developers/authentication) - Token management
- [Core APIs](/developers/core-apis) - Application and document APIs
- [Authentication](/developers/authentication) - Token management
- [Core APIs](/developers/core-apis) - Application and document APIs
- [Blockchain APIs](/developers/blockchain-apis) - Certificate verification
- [Webhooks](/developers/webhooks) - Event notifications
- [Error Handling](/developers/errors) - Error codes and handling

View File

@@ -5,16 +5,16 @@
### Installation
```bash
npm install @tlas/sdk
npm install @license-authority/sdk
```
### Usage
```typescript
import { TLASClient } from '@tlas/sdk';
import { LicenseClient } from '@license-authority/sdk';
const client = new TLASClient({
baseUrl: 'https://api.tlas.gov.in/v1',
const client = new LicenseClient({
baseUrl: 'https://api.license.gov.in/v1',
clientId: 'your-client-id',
clientSecret: 'your-client-secret'
});
@@ -38,16 +38,16 @@ const verification = await client.certificates.verify('GOA/TRADE/2026/00001');
### Installation
```bash
pip install tlas-sdk
pip install license-authority-sdk
```
### Usage
```python
from tlas import TLASClient
from license_authority import LicenseClient
client = TLASClient(
base_url='https://api.tlas.gov.in/v1',
client = LicenseClient(
base_url='https://api.license.gov.in/v1',
client_id='your-client-id',
client_secret='your-client-secret'
)
@@ -72,8 +72,8 @@ result = client.certificates.verify('GOA/TRADE/2026/00001')
```xml
<dependency>
<groupId>gov.in.tlas</groupId>
<artifactId>tlas-sdk</artifactId>
<groupId>gov.in.license</groupId>
<artifactId>license-authority-sdk</artifactId>
<version>1.0.0</version>
</dependency>
```
@@ -81,8 +81,8 @@ result = client.certificates.verify('GOA/TRADE/2026/00001')
### Usage
```java
TLASClient client = new TLASClient.Builder()
.baseUrl("https://api.tlas.gov.in/v1")
LicenseClient client = new LicenseClient.Builder()
.baseUrl("https://api.license.gov.in/v1")
.credentials("client-id", "client-secret")
.build();

View File

@@ -2,7 +2,7 @@
## Overview
TLAS sends webhook notifications for key events. Configure webhook endpoints to receive real-time updates.
The platform sends webhook notifications for key events. Configure webhook endpoints to receive real-time updates.
## Configuration