Installing the REST API

This topic describes the steps to install REST API.

Before you begin

a. Use SMP/E to install the 8.3.1 target libraries.

b. The REST API service is delivered in the form of a PAX file and this PAX file also contain the following OSS components:
  • Django-5.0.3
  • asgiref-3.7.2
  • djangorestframework-3.14.0
  • gunicorn-21.2.0
  • packaging-23.2
  • python-ibmdb-3.2.3
  • pytz-2024.1
  • regex-2023.12.25
  • sqlparse-0.5.1
  • typing_extensions-4.10.0
  • tzdata-2024.1

c. The pax file is located in the 8.3.1 hsi.SHSIPAX1 target library.

Procedure

  1. Create the API installation directory. E.g. mkdir /api_install
  2. cd /api_install
  3. Extract the PAX file contents and keep a note of the directory, ( e.g. /api_install/dist). You can extract the PAX file contents from the hsi.SHSIPAX1 target library using the command:
    pax -rv -f "//'hsi.SHSIPAX1(HSIPAX01)'"