Skip to content

Commit 017b1a2

Browse files
Apply suggestions from code review
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
1 parent 2f1b117 commit 017b1a2

1 file changed

Lines changed: 31 additions & 29 deletions

File tree

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
title: "Documentation-Only API Products"
3-
description: "Create API Products in the Tyk Developer Portal that publish OpenAPI or GraphQL documentation without exposing live API access or credentials. Useful for pre-release APIs, partner previews, and archived docs."
3+
description: "Create API Products in the Tyk Developer Portal that publish documentation without exposing live API access or credentials. Useful for pre-release APIs, partner previews, and archived docs."
44
sidebarTitle: "Documentation-Only Products"
55
keywords: "Developer Portal, Tyk, Documentation-Only, API Products, OpenAPI, GraphQL SDL, pre-release, read-only"
66
---
77

8-
Documentation-Only Products let you publish API documentation in the Developer Portal without creating any access policy or issuing credentials. Consumers can browse your documentation, explore the interactive playground, and review specifications, with no "Request Access" button and no plan selection.
8+
Documentation-Only Products let you publish API documentation in the Developer Portal without creating any access policy or issuing credentials. Consumers can browse your documentation, explore the interactive playground, and review specifications, with no "Request Access" button and no Plan selection.
9+
10+
In this section we will refer to those Products that can be combined with Plans to issue credentials as *Regular Products*.
911

1012
## When to use a Documentation-Only Product
1113

@@ -27,15 +29,15 @@ For an overview of API Products, see [API Products](/portal/api-products). For s
2729

2830
## Create a Documentation-Only Product
2931

30-
There is no explicit documentation-only toggle in the Admin UI. A product becomes documentation-only automatically when no APIs are selected on the APIs tab. The Portal skips policy creation in the connected Tyk Dashboard, so no access policy or credentials are ever generated for the product.
32+
There is no explicit documentation-only toggle in the Admin UI. A Product becomes documentation-only automatically when no APIs are selected on the APIs tab. No access policy will be created in the connected Tyk Dashboard, so no credentials can be generated for the Product.
3133

3234
1. **Navigate to API Products**
3335

3436
In the Admin Portal, go to **Developer Portal** > **API Products** and select **Add new API Product**.
3537

3638
2. **Skip API selection**
3739

38-
Open the **APIs** tab. Do not select any APIs from the list. Skip to the next tab. This is what makes the product documentation-only.
40+
Open the **APIs** tab. Do not select any APIs from the list. Skip to the next tab. This is what makes the Product documentation-only.
3941

4042
![APIs tab on the Add API Product page, showing the default empty state with no APIs selected and the inline note to skip this tab for documentation-only products](/img/portal/portal-doc-only-apis-tab.png)
4143

@@ -50,65 +52,65 @@ There is no explicit documentation-only toggle in the Admin UI. A product become
5052

5153
![Documentation tab showing an uploaded OpenAPI specification with the Specification Alias field filled in](/img/portal/portal-doc-only-documentation-tab.png)
5254

53-
4. **Fill in product details**
55+
4. **Provide the Product details**
5456

5557
Open the **Details** tab and complete the following:
5658

57-
1. **Product name**: use a clear, descriptive name. Consider a convention such as "[DOCS] Payment Integration Guide" so admins can distinguish documentation-only products at a glance.
59+
1. **Product name**: use a clear, descriptive name. Consider a convention such as "[DOCS] Payment Integration Guide" so admins can distinguish documentation-only Products at a glance.
5860
2. **Catalog display name** and **Product summary**: the summary appears as the tile description in the Live Portal.
59-
3. **Product description**: make clear in the description that this product is documentation-only and consumers cannot request access.
61+
3. **Product description**: make clear in the description that this Product is documentation-only and consumers cannot request access.
6062
4. **Product image** (optional): JPG or PNG, recommended 700x400 pixels.
61-
5. **Publish API product to catalogue**: select one or more Catalogs.
63+
5. **Publish API Product to catalogue**: select one or more Catalogs.
6264

63-
5. **Add Getting Started guides (optional)**
65+
5. **Add Getting Started Guides (optional)**
6466

65-
Open the **Getting started guides** tab to create Markdown or HTML pages. These appear on the product's **Get Started** tab in the Live Portal and are the right place for tutorials, integration walkthroughs, and conceptual overviews.
67+
Open the **Getting Started Guides** tab to create Markdown or HTML pages. These appear on the product's **Get Started** tab in the Live Portal and are the right place for tutorials, integration walkthroughs, and conceptual overviews.
6668

6769
6. **Save and verify**
6870

6971
Select **Save Changes**, then open the Live Portal and confirm:
7072

71-
1. The product appears in the assigned Catalog.
73+
1. The Product appears in the assigned Catalog.
7274
2. The **API specification** tab renders your uploaded specification.
7375
3. No **Request Access** button is visible.
7476

75-
![Live Portal product page for a documentation-only product, showing the Overview, API specification, and Get started tabs with no Request Access button](/img/portal/portal-doc-only-live-portal.png)
77+
![Live Portal page for a documentation-only Product, showing the Overview, API specification, and Get Started tabs with no Request Access button](/img/portal/portal-doc-only-live-portal.png)
7678

7779
## What consumers see
7880

79-
Documentation-only products appear in the Catalog alongside regular products, but with key differences:
81+
Documentation-only Products appear in the Catalog alongside regular Products, but with key differences:
8082

81-
1. The **Overview**, **API specification**, and **Get started** tabs are fully accessible.
83+
1. The **Overview**, **API specification**, and **Get Started** tabs are fully accessible.
8284
2. The interactive OpenAPI playground (Redoc or Stoplight) and GraphQL Playground are available for consumers to explore the schema and run queries.
8385

8486
![The API specification tab showing a rendered OpenAPI specification in Redoc, with endpoint navigation on the left and schema details on the right](/img/portal/portal-doc-only-openapi-docs.png)
8587

8688
3. There is no **Request Access** button.
87-
4. There are no plans to select.
88-
5. No credentials are issued.
89+
4. There are no Plans available to select.
90+
5. No credentials can be requested or issued.
8991

90-
This behavior is enforced by the Portal: the product has no associated access policy in Tyk Dashboard, and the UI hides all access-request components when a product is documentation-only.
92+
This behavior is enforced by the Portal: the Product has no associated access policy in Tyk Dashboard, and the UI hides all access-request components when a Product is documentation-only.
9193

9294
## Convert between documentation-only and live products
9395

94-
You do not need to recreate a product to change its type. The Portal determines whether a product is documentation-only dynamically, based on whether any APIs are attached.
96+
You do not need to recreate a Product to change its type: this is dynamic, based on whether any API access is configured.
9597

96-
**Convert a documentation-only product to a live product**
98+
**Convert a documentation-only Product into a regular Product**
9799

98-
1. Open the product in the Admin Portal and navigate to the **APIs** tab.
99-
2. Select a Provider, an authentication method, and one or more APIs.
100+
1. Open the Product in the Admin Portal and navigate to the **APIs** tab.
101+
2. Select a Provider, an authentication method, and one or more APIs to which the Product should grant access.
100102
3. Select **Save Changes**.
101103

102-
The Portal creates a new access policy in Tyk Dashboard and the product becomes a live product. Consumers can now request access and receive credentials.
104+
The Portal creates a new access policy in Tyk Dashboard so that it becomes a regular Product. Consumers can now request access and receive credentials to consume the APIs in the Product.
103105

104-
**Convert a live product to documentation-only**
106+
**Convert a regular Product to documentation-only**
105107

106-
1. Open the product and navigate to the **APIs** tab.
108+
1. Open the Product and navigate to the **APIs** tab.
107109
2. Remove all selected APIs.
108110
3. Select **Save Changes**.
109111

110112
<Warning>
111-
When you convert a live product to documentation-only, the associated access policy in Tyk Dashboard is immediately deactivated. Any existing credentials issued for this product stop working at that point. If you re-add APIs later, the policy is reactivated and previously issued credentials resume working.
113+
When you convert a regular Product to documentation-only, the associated access policy in Tyk Dashboard is immediately deactivated. Any existing credentials issued for this Product stop working at that point. If you re-add APIs later, the policy is reactivated and previously issued credentials resume working.
112114
</Warning>
113115

114116
## Troubleshooting
@@ -117,14 +119,14 @@ When you convert a live product to documentation-only, the associated access pol
117119
<Accordion title="Specification does not render on the API Specifications tab">
118120
Check whether the Specification Alias contains a hyphen. If it does, rename the alias using underscores or camelCase, then re-upload the file.
119121
</Accordion>
120-
<Accordion title="Request Access button or plan selection is visible to consumers">
121-
This was a bug in versions prior to v1.16.0. Upgrade to v1.16.0 or later. On older versions, the UI elements appear but are non-functional for documentation-only products.
122+
<Accordion title="Request Access button or Plan selection is visible to consumers">
123+
This was a bug in versions prior to v1.16.0. Upgrade to v1.16.0 or later. On older versions, the UI elements appear but are non-functional for documentation-only Products.
122124
</Accordion>
123-
<Accordion title="Error when adding APIs to convert a documentation-only product to live">
125+
<Accordion title="Error when adding APIs to convert a documentation-only Product to live">
124126
This was a bug in versions prior to v1.14.1. The Portal attempted to update a non-existent access policy. Upgrade to v1.14.1 or later to perform this conversion without errors.
125127
</Accordion>
126128
<Accordion title="Product is not visible in the Catalog">
127-
Confirm the product is published to at least one Catalog, and that the consumer's Organisation has access to that Catalog. Documentation-only products follow the same Catalog visibility rules as regular products.
129+
Confirm the Product is published to at least one Catalog, and that the consumer's Organisation has access to that Catalog. Documentation-only Products follow the same Catalog visibility rules as regular Products.
128130
</Accordion>
129131
</AccordionGroup>
130132

0 commit comments

Comments
 (0)