Developer resources
Bepto Cable Glands Website API
Discover published article translations and search Bepto Cable Glands article archives. These public, read-only interfaces use the same approved publication data as the website.
Published article language links
GET/api/localized-blog-links.json
Supply an English or localized article path in the required path query parameter. The response contains absolute website URLs keyed by language. No API key is required.
GET /api/localized-blog-links.json?path=/blog/a-guide-to-selecting-cable-glands-for-mini-junction-boxes/Example response excerpt
{
"links": {
"en": "https://chinacableglands.com/blog/a-guide-to-selecting-cable-glands-for-mini-junction-boxes/",
"fr": "https://chinacableglands.com/fr/blog/a-guide-to-selecting-cable-glands-for-mini-junction-boxes/"
}
}The available languages depend on the article. Drafts, unapproved translations and translations of an outdated source are excluded. An unknown or unpublished article returns {"links":{}}.
Request and response details
- Use a website path beginning with a slash, up to 1,024 characters. Absolute URLs, query strings and fragments are not accepted inside
path. - GET returns JSON. HEAD returns the same status and headers with no response body.
- Successful responses may be cached for up to five minutes by a shared cache. Error responses are not cached.
- Browser integrations can read this public endpoint across origins without credentials.
| Status | Meaning |
|---|---|
| 200 | Published language links, or an empty links object when no published article matches. |
| 400 | The article path is missing, repeated or invalid. |
| 405 | The request method is not GET or HEAD. |
| 503 | The publication index is temporarily unavailable; retry later. |
Published article archive batches
GET/api/blog-archive.json
Read up to nine current article summaries in an enabled language. Use author or tag to select an archive, q to search it and offset in multiples of nine to read another batch. All parameters are optional; the default language is English.
GET /api/blog-archive.json?locale=fr&offset=9&tag=cable-glandsThe response includes article links, titles, descriptions, images, author names, dates and result counts. Lists follow the current publication index. Website page buttons update the list while keeping one archive URL.
GET and HEAD are supported. This endpoint is excluded from indexing and browser requests use the same origin. Invalid parameters return 400, unavailable archives return 404 and temporary index failures return 503. Errors are not cached; successful batches may remain in a shared cache for up to five minutes.
Complete API contract
See the OpenAPI 3.1 document for request fields, response schemas and operation details. The API catalog lists the public endpoints and links to their documentation.
For product selection, samples, drawings or quotations, contact the Bepto Cable Glands team. These APIs read published articles and do not submit inquiries.