Skip to main content
Version: v4.6

Javascript Platform APIs

platform APIs are JavaScript APIs that you can download as an NPM package.

Note: For more information on installing the NPM package, see NPM install.

The platform APIs contain the following API types:

  • Low-level APIs

    • Wrappers over Platform Services REST APIs, for example, IafPassportSvc, IafItemSvc, IafDatasourcesSvc, IafFileSvc, IafGraphicsSvc
  • High-Level APIs

    • Built using low-level APIs
    • Encapsulate higher-level semantics
    • REST API service for higher-level APIs
    • For example, IafProj, IafFile, IafFileContainer

For more information on the available APIs, see the following graphic and table:

APIDescriptionServices
IafApplicationManage Application resources and apps for Users, UserGroups, and session users.Passport Service
IafBimGraphicsLoaderGet a model's geometry views, download an SVG image for a view resource, load an imported BIM model's 3D BIM graphics for the IafViewer.Graphics Service
IafDataSourceCreate and manage orchestrators, as well as orchestrator components, runs, schedules, and permissions.Data sources
IafFetchUse methods that simplify HTTP requests.
IafFileManage Files, FileContainers, FileItems, and NamedFileCollections.Item service, File service
IafFileContainerManage FileContainers.File service
IafFileSvcManage source Files, FileVersions, metadata, resumable uploads, permissions, download and preview URLs, and FileContainers.File service
IafGraphicsSvcCreate file sets and cache graphics files on the Graphics ServiceGraphics Service
IafHelperUse helper methods that check, add, convert, ignore, and get data.
IafItemSvcManage item service resources such as related items and named user items, such as collections, scripts, and user configs.Item service
IafNsProviderManage namespaces and their resources.Passport service
IafObjectModelAPISvcManage API config files and their permissions in the Object Model API service.Object Model API service
IafPassSvcCreate and update Users, UserGroups, NotificationTemplates, manage session user authorization, as well as permissions for Users, UserGroups, Applications, Workspaces, and more.Passport service
IafPermissionsCreate and manage Permissions.Passport service
IafProjManage Projects and their resources.Passport service
IafPurgePurge NamedCompositeItems, NamedFileCollections or their versions.
IafSessionManage session users, storage, auth tokens, and error messages.Passport service
IafScriptsCreate and manage Scripts and ScriptVersions.Item service
IafScriptEngineWrite scripts on the platform by calling platform APIs and using utility functionsItem, Passport, and Datasource services
IafUserCreate a User in the Passport Service.Passport service
IafUserConfigCreate and manage UserConfigs.Item service
IafUserGroupManage UserGroups, as well as UserGroup resources, Permissions, Users, and Invites.Passport service
IafWorkspaceManage workspaces and their resources.Passport service