Skip to content

Commit 2694756

Browse files
authored
Remove directory rest api from index and sitemap. clarify contacts/programs/modules references (#3778)
1 parent 49078ca commit 2694756

17 files changed

Lines changed: 184 additions & 64 deletions

File tree

astro.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ export default defineConfig({
9393
return false
9494
}
9595

96+
// CCIP directory API v1 interactive page: noindex + omit from sitemap to avoid competing with CCIP Tools REST (v2)
97+
if (cleanPath === "/api/ccip/v1/docs") {
98+
return false
99+
}
100+
96101
return !redirectSources.has(cleanPath)
97102
},
98103
serialize(item) {

postman/ccip-chains-api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"info": {
3-
"name": "CCIP API",
4-
"description": "Collection for testing the Cross-Chain Interoperability Protocol (CCIP) API",
3+
"name": "CCIP directory and configuration REST API (v1)",
4+
"description": "**Deprecation:** CCIP Directory REST API (v1) is **planned for deprecation soon**; see https://docs.chain.link/ccip/tools/. For CCIP Tools REST API (v2), see https://docs.chain.link/ccip/tools/api/",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
66
},
77
"item": [

public/api/ccip/v1/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"openapi": "3.0.0",
33
"info": {
4-
"title": "CCIP Docs config API",
5-
"description": "API for retrieving CCIP chain, token, and lane information.\n\nTo get started quickly, you can download our [Postman Collection](/api/ccip/v1/postman-collection.json) which includes all endpoints and example requests.",
4+
"title": "CCIP directory and configuration REST API (v1)",
5+
"description": "**Deprecation:** This CCIP Directory and configuration REST API (v1), including `/api/ccip/v1/*` on docs.chain.link, is **planned for deprecation soon**. Timelines and migration guidance will be published in the [CCIP Tools documentation](https://docs.chain.link/ccip/tools/). For new integrations, prefer the [CCIP Tools REST API (v2)](https://docs.chain.link/ccip/tools/api/) where it meets your needs.\n\nREST API for CCIP supported chains, tokens, lanes, and related configuration on docs.chain.link. This is distinct from the CCIP Tools REST API (v2), which covers messages, lane latency, intents, and related tooling (https://docs.chain.link/ccip/tools/api/). For on-chain Solidity, Move, SVM, and TON interfaces, see https://docs.chain.link/ccip/api-reference.\n\nTo get started quickly, you can download our [Postman Collection](/api/ccip/v1/postman-collection.json) which includes all endpoints and example requests.",
66
"version": "1.6.0",
77
"contact": {
88
"name": "File issues",

public/api/ccip/v1/postman-collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"info": {
3-
"name": "CCIP API",
4-
"description": "Collection for testing the Cross-Chain Interoperability Protocol (CCIP) API. Includes examples for chains, tokens, and lanes across EVM, Solana, and Aptos networks.",
3+
"name": "CCIP directory and configuration REST API (v1)",
4+
"description": "**Deprecation:** This CCIP Directory and configuration REST API (v1) is **planned for deprecation soon**; see https://docs.chain.link/ccip/tools/ for timelines and migration. Prefer CCIP Tools REST API (v2) for new work where applicable.",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
66
},
77
"item": [

public/ccip/llms.txt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,17 @@ Use directory pages only when retrieving current chain, lane, token, or contract
4949

5050
## Tools and Reference
5151

52-
- [EVM API Reference](https://docs.chain.link/ccip/api-reference.md)
53-
- [SVM API Reference](https://docs.chain.link/ccip/api-reference/svm.md)
54-
- [Aptos API Reference](https://docs.chain.link/ccip/api-reference/aptos.md)
55-
- [TON API Reference](https://docs.chain.link/ccip/api-reference/ton.md)
52+
On-chain contracts and interfaces:
53+
54+
- [EVM contracts and interfaces reference](https://docs.chain.link/ccip/api-reference.md)
55+
- [Solana program interfaces reference](https://docs.chain.link/ccip/api-reference/svm.md)
56+
- [Aptos Move module interfaces reference](https://docs.chain.link/ccip/api-reference/aptos.md)
57+
- [TON contract interfaces reference](https://docs.chain.link/ccip/api-reference/ton.md)
58+
59+
### CCIP HTTP REST APIs
60+
61+
- **Directory and configuration (v1)** — supported chains, tokens, and lanes: OpenAPI UI at `https://docs.chain.link/api/ccip/v1/docs` and spec at `https://docs.chain.link/api/ccip/v1/openapi.json`. **Planned for deprecation soon**; follow [CCIP Tools](https://docs.chain.link/ccip/tools/) for timelines and migration. Prefer [CCIP Tools API (v2)](https://docs.chain.link/ccip/tools/api/) for new work where applicable.
62+
- **CCIP Tools (v2)** — messages, lane latency, intents: [CCIP Tools API](https://docs.chain.link/ccip/tools/api/).
5663

5764
## Live Data
5865

public/llms.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ Operational Considerations
8888
- [Service Limits](https://docs.chain.link/ccip/service-limits.md)
8989

9090
Reference
91-
- [EVM API Reference](https://docs.chain.link/ccip/api-reference/evm.md)
92-
- [SVM API Reference](https://docs.chain.link/ccip/api-reference/svm.md)
93-
- [Aptos API Reference](https://docs.chain.link/ccip/api-reference/aptos.md)
94-
- [TON API Reference](https://docs.chain.link/ccip/api-reference/ton.md)
91+
- [EVM contracts and interfaces reference](https://docs.chain.link/ccip/api-reference/evm.md)
92+
- [Solana program interfaces reference](https://docs.chain.link/ccip/api-reference/svm.md)
93+
- [Aptos Move module interfaces reference](https://docs.chain.link/ccip/api-reference/aptos.md)
94+
- [TON contract interfaces reference](https://docs.chain.link/ccip/api-reference/ton.md)
9595

9696

9797
## Data Feeds

src/content/ccip/api-reference/aptos/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
section: ccip
33
date: Last Modified
4-
title: "Move Module Interfaces Reference Documentation (Aptos)"
4+
title: "CCIP Move Module Interfaces Reference Documentation (Aptos)"
55
metadata:
6-
description: "Complete API reference documentation for Chainlink Cross-Chain Interoperability Protocol (CCIP) on the Aptos blockchain. Includes message structures, router functionality, events, and error handling."
6+
description: "On-chain Move module interfaces for Chainlink CCIP on Aptos: messages, router, events, and errors."
77
isIndex: true
88
---
99

src/content/ccip/api-reference/evm/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
section: ccip
33
date: Last Modified
4-
title: "Solidity Interfaces & Contracts Reference Documentation (EVM)"
4+
title: "CCIP Solidity Interfaces & Contracts Reference Documentation (EVM)"
55
metadata:
6-
description: "Complete API reference documentation for Chainlink Cross-Chain Interoperability Protocol (CCIP) on EVM-based blockchains. Includes smart contracts, libraries, and interfaces for cross-chain messaging and token transfers."
6+
description: "On-chain Solidity interfaces and contracts for Chainlink CCIP on EVM chains: routers, pools, receivers, and related contracts."
77
isIndex: true
88
---
99

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
---
22
section: ccip
33
date: Last Modified
4-
title: "CCIP API Reference"
4+
title: "CCIP contracts and interfaces reference"
55
metadata:
6-
description: "Complete API reference documentation for Chainlink Cross-Chain Interoperability Protocol (CCIP). Access developer resources for EVM, Solana, and Aptos blockchains."
6+
description: "On-chain reference for Chainlink CCIP: EVM, Solana, Aptos, and TON contracts and interfaces for cross-chain messaging and token transfers."
77
isIndex: true
88
---
99

1010
Chainlink Cross-Chain Interoperability Protocol (CCIP) provides secure cross-chain messaging and token transfers between blockchain networks.
1111

12-
- **[EVM-based Blockchains](/ccip/api-reference/evm)**: Complete API reference for CCIP on Ethereum Virtual Machine (EVM) compatible blockchains.
13-
- **[Solana](/ccip/api-reference/svm)**: Complete API reference for CCIP on Solana.
14-
- **[Aptos Blockchain](/ccip/api-reference/aptos)**: Complete API reference for CCIP on the Aptos blockchain.
12+
**This section is for on-chain integration** (contracts, interfaces, and program modules). CCIP also exposes HTTP APIs for different jobs:
13+
14+
- **Directory and configuration REST API (v1)** — JSON for supported chains, tokens, and lanes served from `docs.chain.link`. **Planned for deprecation soon**; timelines and migration steps will be published with the [CCIP Tools documentation](https://docs.chain.link/ccip/tools/). Until then: interactive reference [/api/ccip/v1/docs](/api/ccip/v1/docs); machine-readable spec [/api/ccip/v1/openapi.json](/api/ccip/v1/openapi.json). Prefer the [CCIP Tools REST API (v2)](https://docs.chain.link/ccip/tools/api/) for new integrations where it meets your needs.
15+
- **CCIP Tools REST API (v2)** — messages, lane latency, intents, and related tooling. See the [CCIP Tools API documentation](https://docs.chain.link/ccip/tools/api/) and [CCIP Tools overview](https://docs.chain.link/ccip/tools/).
16+
17+
Platform-specific **contracts and interfaces** on this site:
18+
19+
- **[EVM-based blockchains](/ccip/api-reference/evm)**: Solidity interfaces and contracts for CCIP on Ethereum Virtual Machine (EVM) compatible chains.
20+
- **[Solana](/ccip/api-reference/svm)**: SVM program interfaces for CCIP on Solana.
21+
- **[Aptos](/ccip/api-reference/aptos)**: Move module interfaces for CCIP on Aptos.
22+
- **[TON](/ccip/api-reference/ton)**: TON contract interfaces for CCIP on TON.

src/content/ccip/api-reference/svm/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
section: ccip
33
date: Last Modified
4-
title: "SVM Program Interfaces Reference Documentation (SVM)"
4+
title: "CCIP Program Interfaces Reference Documentation (Solana)"
55
metadata:
6-
description: "Complete API reference documentation for Chainlink CCIP on Solana. Includes message structures, router functionality, events, and error handling."
6+
description: "Onchain SVM program interfaces for Chainlink CCIP on Solana: message structures, router, pools, events, and errors."
77
isIndex: true
88
---
99

0 commit comments

Comments
 (0)