Sha256: 604673ebcec767b4ff8bb59dfca670d018d2701dc4908459bf3e6e67ab3c8a1c
Contents?: true
Size: 1009 Bytes
Versions: 17
Compression:
Stored size: 1009 Bytes
Contents
# My API This is the real API for integration testing with `my_api_client`. It's built by [Ruby on Jets](https://rubyonjets.com/). ## APIs ### My Rest API This is a simple REST API that returns a specified response. * `GET rest` * `GET rest/:id` * `POST rest` * `POST/PUT/PATCH rest/:id` * `DELETE rest/:id` ### My Status API This API returns arbitrary status code. * `GET status/:status` ### My Error API This API returns arbitrary error code as JSON. * `GET error/:code` ### My Pagination API This API returns a response including pagination links. * `GET pagination?page=1` ## Deployment You need to prepare following environment variables: * `AWS_REGION` * `AWS_ACCESS_KEY_ID` * `AWS_SECRET_ACCESS_KEY` For information on how to create an AWS access key and secret, see the following site: :link: [Minimal Deploy IAM Policy \- Jets Ruby Serverless Framework](https://rubyonjets.com/docs/extras/minimal-deploy-iam/) And execute following command: ```sh $ bundle exec jets deploy ```
Version data entries
17 entries across 17 versions & 1 rubygems