Skip to content

Commit 2e60f5c

Browse files
authored
Merge pull request #8492 from SavinduDimal/master
Fix issues in custom property docs
2 parents cd5298a + 190aa4f commit 2e60f5c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

en/docs/design/create-api/adding-custom-properties-to-apis.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,29 @@ After the custom properties have been added, you can [search for APIs using cust
2121

2222
### Add custom properties via the API Publisher
2323

24-
1. Sign in to the API Publisher as an API creator using the following URL:
24+
1. Sign in to the WSO2 API Publisher.
2525

26-
`https://<localhost>:9443/publisher`
26+
`https://<hostname>:9443/publisher`
27+
28+
Example: `https://localhost:9443/publisher`
2729

28-
2. [Create a new API]({{base_path}}/design-api/create-api/create-a-rest-api/) or edit an existing API.
30+
2. [Create a new API]({{base_path}}/design/create-api/create-rest-api/create-a-rest-api/) or edit an existing API.
2931

30-
3. Click **Properties** and click **ADD NEW PROPERTY**.
32+
3. Click **Properties** and click **Add New Property**.
3133

3234
[![Add new property menu]({{base_path}}/assets/img/learn/properties-add-property.png)]({{base_path}}/assets/img/learn/properties-add-property.png)
3335

34-
4. Enter a custom property name and value (e.g., property name: environment, property value: preprod), mark Developer Portal visibility as appropriate and click **ADD** to add it.
36+
4. Enter a custom property name and value (e.g., property name: environment, property value: preprod), mark Developer Portal visibility as appropriate and click **Add** to add it.
3537

3638
[![Add new property]({{base_path}}/assets/img/learn/add-new-property.png)]({{base_path}}/assets/img/learn/add-new-property.png)
3739

38-
5. Click **SAVE** to save the API.
40+
5. Click **Save** to save the API.
3941

4042
<a name="AddcustompropertiesviatheRESTAPI"></a>
4143

4244
### Add custom properties via the REST API
4345

44-
Use the [existing REST API]({{base_path}}/develop/product-apis/restful-apis/) to add a new API and in order to add the API with custom properties make sure to add the following element to the request body including the relevant properties.
46+
Use the [existing REST API]({{base_path}}/reference/product-apis/overview/) to add a new API and in order to add the API with custom properties make sure to add the following element to the request body including the relevant properties.
4547

4648
`"additionalProperties : {"environment": "preprod", "secured": "true"}`
4749

0 commit comments

Comments
 (0)