Code Monkey home page Code Monkey logo

bbdn-aaas-postman's Introduction

BBDN-AaaS-Postman

This repository contains a postman collection for testing the Ally as a Service REST APIs. In order to use this repository, you will need a Client ID, key, and secret. For more information on this API and how to obtain the key and secret, visit the Blackboard Developer Community.

Usage

To use this repository, you must have Postman installed. From the UI, click the import button and follow the on-screen prompts. The collection is already configured to use https://ally.prod.ac as the top-level domain.

The easiest way to use this collection is to have Postman generate the JWT token for each request. To do this:

  1. Execute INIT: Load Crypto Library for HS256 to load the library into your postman globals
  2. Update the collection variables with the following:
    • ALLY_CLIENT_ID - Your Collaborate REST API Key
    • JWT_secret - Your Collaborate REST API Key
  3. Execute Ally requests

The Pre-Request script will generate a JWT token for use during each request. You should call the Upload a file to Ally endpoint first, as this generates a contentHash that the other requests require to operate. In the body of this request, you will need to click the button next to 'file' and select a file for processing before clicking send. On successful completion, the collection will automatically parse out the contentHash and set to an environment variable, which the other endpoints are already configured to use as appropriate.

To Check the processing status of a file, you may simply click Send. This is all configured via environment variables.

Finally, to Retrieve the feedback for a file, you will need to check the Params tab of the request. Here there is a feedback parameter, which may be set to true, false, or omitted. Setting to true will retrieve the full report. Setting to false or omitting this value will return only the metadata of the report. To test omission, simply uncheck the box next to feedback.

bbdn-aaas-postman's People

Watchers

James Cloos avatar Scott Hurrey avatar Joel Snook avatar  avatar

Forkers

jrevillaa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.