Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified en/docs/assets/img/get_started/api-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/dev-portal-landing-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/expanded-get-resource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/test-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/try-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/try-it-success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified en/docs/assets/img/get_started/try-out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 12 additions & 33 deletions en/docs/get-started/api-manager-quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this step-by-step guide, you’ll learn how to create, publish, and invoke an

### Before you begin...

Choose a deployment option to start WSO2 API Manager All-in-one package. The All-in-one package contains all core components in a single JVM for simplified deployment.
Choose a deployment option to start the WSO2 API Manager All-in-one package. The All-in-one package contains all core components in a single JVM for simplified deployment.

=== "Run on VM"

Expand All @@ -18,7 +18,7 @@ Choose a deployment option to start WSO2 API Manager All-in-one package. The All
For more information on setting the `JAVA_HOME` environment variable for different operating systems, see [Setup and Install]({{base_path}}/install-and-setup/install/installing-the-product/installing-api-m-runtime/#setting-up-java_home)

2. Download WSO2 API-Manager All-in-one package.
- [Open Source Distribution](https://github.com/wso2/product-apim/releases/tag/v4.6.0)
- [Open Source Distribution](https://github.com/wso2/product-apim/releases/tag/v4.7.0)
- [WSO2 Official Distribution](https://wso2.com/api-manager/#)

3. Extract the downloaded zip file.
Expand Down Expand Up @@ -67,46 +67,25 @@ Follow the instructions below to create, deploy and publish an API via the Publi

[![Publisher portal home page]({{base_path}}/assets/img/get_started/api-publisher-home.png)]({{base_path}}/assets/img/get_started/api-publisher-home.png)

3. Next, let's create a mock REST service by navigating to [Mocky.io](https://designer.mocky.io/design). You can provide the following configuration in order to create a mock service.

| Field | Value |
| ----------------------- |-----------------------|
| `HTTP Status` | 200 - OK |
| `Response Content Type` | application/json |
| `Charset` | UTF-8 |
| `HTTP Response Body` | `{"hello": "world"}` |

Finally click **Generate My HTTP Response** to save and generate the mock service url.


4. Select **REST API** from the home screen and then click **Start From Scratch**.
3. Next, let's create a **REST API** in the API Manager to proxy an existing REST service by selecting **REST API** from the home screen and then click **Start From Scratch**.

[![Design a new REST API]({{base_path}}/assets/img/get_started/design-new-rest-api.png)]({{base_path}}/assets/img/get_started/design-new-rest-api.png)


5. Enter the API details.
4. Fill the following API details in the relevant fields.

<table>
<tr>
<th>
Name
</th>
<td>
HelloWorld
</td>
</tr>
<tr>
<th>
Display Name
</th>
<td>
Hello World
RandomUUID
</td>
</tr>
<tr>
<th>Context
</th>
<td><code>/hello</code>
<td><code>/uuid</code>
</td>
</tr>
<tr>
Expand All @@ -118,12 +97,12 @@ Follow the instructions below to create, deploy and publish an API via the Publi
<tr>
<th>Endpoint
</th>
<td><code>https://run.mocky.io/v3/e42a76f0-95f3-4759-b658-dcc2b0c8bacd</code>
<td><code>https://dev-tools.wso2.com/gs/helpers/v1.0/uuid</code>
</td>
</tr>
</table>

6. Click **Create & Publish**.
5. Click **Create & Publish**.

[![Create an API]({{base_path}}/assets/img/get_started/api-create.png){: style="width:100%"}]({{base_path}}/assets/img/get_started/api-create.png)

Expand All @@ -139,13 +118,13 @@ Follow the instructions below to subscribe to the API via the Developer Portal o

[https://localhost:9443/devportal](https://localhost:9443/devportal)

The published `HelloWorld` API is listed in the Developer Portal as shown below.
The published `RandomUUID` API is listed in the Developer Portal as shown below.

[![Developer Portal home page]({{base_path}}/assets/img/get_started/dev-portal-landing-page.png)]({{base_path}}/assets/img/get_started/dev-portal-landing-page.png)

2. Click **Sign-In** and enter **`admin/admin`** as your credentials to sign in to the Developer Portal.

3. Once you click on the HelloWorld API, you will be redirected to the API overview page. Then, go ahead and click on the **TRY OUT** button.
3. Once you click on the RandomUUID API, you will be redirected to the API overview page. Then, go ahead and click on the **TRY OUT** button.

[![API try out]({{base_path}}/assets/img/get_started/try-out.png)]({{base_path}}/assets/img/get_started/try-out.png)

Expand Down Expand Up @@ -177,8 +156,8 @@ Follow the instructions below to invoke the created API.

[![GET resource]({{base_path}}/assets/img/get_started/try-api.png)]({{base_path}}/assets/img/get_started/try-api.png)

You should see the `{"hello" : "world"}` response from the API.
You should see the `{"uuid": "<random-uuid-here>"}` response from the API.

[![Successful response]({{base_path}}/assets/img/get_started/try-it-success.png)]({{base_path}}/assets/img/get_started/try-it-success.png)

__Congratulations!__ With that, you've created, deployed, and published your first API. Next, you subscribed to it and put it to the test. Your journey with WSO2 API Manager has officially begun!
__Congratulations!__ With that, you've created, deployed, and published your first API. Next, you subscribed to it and put it to the test. Your journey with WSO2 API Manager has officially begun!