Questions? Contact Us
  Blue Mango Learning Systems
  • Home
  • Forums
  • Documentation
  • Submit a request
  • Check your existing requests
ScreenSteps Documentation » ScreenSteps Live API » How Do I Get a List of Manuals From the API?

Topics

  • Getting Started 4
    • Overview
    • API Calls
    • Generating the Authentication Header When Basic Authentication
    • Generating the Authentication Header When Using ScreenSteps Live API Key
  • How To's 2
    • Requesting and Displaying Image Data
    • How Do I Get a List of Manuals From the API?
  • Example XML Output 2
    • Spaces
    • Manuals
  • Example Code/Libraries 2
    • PHP Library
    • Ruby API Wrapper

Last Updated

Apr 20, 2010

Download Manual PDF

Other Resources

  • ScreenSteps Desktop & Workgroup

  • ScreenSteps 2.9
  • ScreenSteps Workgroup
  • Customizing HTML Templates
  • ScreenSteps: Tips & Tricks
  • Creating Word Templates
  • Publishing to Blogs & Wikis
  • ScreenSteps Live

  • ScreenSteps Live
  • Setting up a New Admin, Editor or Author on ScreenSteps Live
  • ScreenSteps Live Support Client
  • Integrating ScreenSteps Live With Other Services
  • Collaborating on ScreenSteps Live
  • ScreenSteps Live Remote Authentication
  • ScreenSteps Live API
  • API Examples
  • Implementation Guides

  • Creating a Software Manual With ScreenSteps
  • Creating a ScreenSteps Live Support Site
  • Improving your Zendesk Support Site with ScreenSteps Live

Comments

0 comments for this lesson

  • Prev: Requesting and Displaying Image Data
  • Next: Spaces

How Do I Get a List of Manuals From the API?

This lesson will show you how to get a list of manuals using the API. We aren't going to deal with authorizing requests in this lesson, just with the request urls themselves.

Example Setup

To get a list of manuals what you really are doing is requesting the contents of a space. Remember that all API requests must go through a space.

Let's say we have the following setup:

A Space called "My Application" with two manuals in it:

1. Beginner's Guide
2. Advanced User's Guide

Request Contents of a Space

Request_contents_of_a_space

My request url will look like the example above:

1. My account name (bmls).
2. spaces - since I am requesting the contents of a space.
3. The id of the space I am requesting.

If the request is properly authenticated then I will receive an XML response detailing the contents of this space. It will contain my two manuals - "Beginner's Guide"
and "Advanced User's Guide".

Build a Link In Your App For Each Manual

Build_a_link_in_your_app_for_each_manual

Now that I know the id of the manuals in my space I can build a url or interface element that the user can click on to see that manual.

Let's say that the user selects "Beginner's Guide" in your application. You know form the XML you used to build this interface element that "Beginner's Guide" has an ID of 22. You pass that to your code for Handling the API calls.

Build Request For Manual Contents

Build_request_for_manual_contents

Using the space id and the manual id we can now request the manual's contents. You will notice that he url is almost exactly the same except that we have now added 'manuals/22' to the end of the url. This will give us the contents of the manual that the user requested.

Process Response and Display Manual Table of Contents

Process_response_and_display_manual_table_of_contents

ScreenSteps Live returns a response containing an XML representation of the Manual table of contents (TOC). You can then use this XML to display the manual TOC to your user.

Getting the Contents of a Lesson

Getting_the_contents_of_a_lesson

You will use the same exact process to get the contents of a lesson. Your request will look like the one above where:

1. 22 = the manual id.
2. lessons = means we are requesting a lesson in the manual.
3. 48 = the lesson id.

  • Prev: Requesting and Displaying Image Data
  • Next: Spaces

Comments (0)

Add your comment

E-Mail me when someone replies to this comment

Documentation powered by ScreenSteps Live