Class: AgileProxy::Api::RequestSpecs

Inherits:
Grape::API
  • Object
show all
Includes:
Grape::Kaminari
Defined in:
lib/agile_proxy/api/request_specs.rb

Overview

A grape API for request specifications

A ‘request specification’ is what is known as a ‘Stub’ in the UI.

It defines an input and output spec for a HTTP(s) request.

For example, we could say ‘When www.mybing.com/search.html is requested with some specific query parameters, then respond with this’

This API allows full CRUD access to these request specifications, but only those belonging to the logged in user.