ActionScript 3 Class Reference API

This service provides an API for finding the URL to the online documentation for a specified ActionScript 3 class name.

Usage

Endpoint

http://as3reference.appspot.com/getapi

Parameters

version

Required

The version of the API documentation you would like to retrieve. Currently, the only valid value is "flex3", which covers the ActionScript APIs for Flex 3, Flash Player 9 and Adobe AIR 1.1.

api

The class name that you would like information on.

This can be a complete or partial class name. All entries that contain a class name that start with the API parameter will be returned.

If the parameter is not specified, or does not have a value, all classes will be returned. Please use this option responsibly.

Response

All responses are sent as a JSON encoded object.

Success Response

A success response is returned as a JSON encoded object with the following properties:

Example

http://as3reference.appspot.com/getapi?version=flex3&api=String

{"items": [
{"path": "String.html", "name": "String"}, 
{"path": "mx\/utils\/StringUtil.html", "name": "StringUtil"}, 
{"path": "mx\/validators\/StringValidator.html", "name": "StringValidator"}
], 
"version": "flex3", "base_path": "http:\/\/livedocs.adobe.com\/flex\/3\/langref\/"}

Error Response

If an error occurs, a JSON object with three properties will be returned.

Example

http://as3reference.appspot.com/getapi

{"message": "version is required", "code": 7229, "result": "error"}

Release History

September 3, 2008

Feedback

Please leave any feedback, requests or bug reports here.

Credits

Created by Mike Chambers