Skip to main content

63 docs tagged with "api"

View all tags

API Conventions

Base URLs, HTTP headers, error shapes and terminology shared by every Agility API.

Attribute Definition Syntax

Where to find the normative attribute-path and filter-expression grammar shared by every Agility query surface.

Base URL

How to build the base URL that every Agility API request is relative to, from your instance host and instance name.

Bulk API (api/asset)

Create, update, query and invoke operations on many assets in a single request against ~/api/asset.

Can Be Important

api/canbeimportant — asks, for a batch of attribute definitions, which ones can be flagged as important. Unknown tokens are silently dropped.

Choosing an API

Decide between query.v1, rest-1.v1, api/asset and meta.v1 for your Agility integration.

Compound Requests

A capstone Bulk API example that creates a project hierarchy, invokes an operation on a newly created asset, and queries the result in one request.

Configuration (config.v1)

Read an instance's effective configuration - attachment size limit, time zone, effort tracking - without authentication.

Creating Assets

Create one asset, many assets, or a whole hierarchy in a single Bulk API request.

Culture Fallback

How Accept-Language maps to a localizer, how the specific/neutral/default fallback chain works, and what happens when a culture is partially or wholly unmatched.

Custom Fields

api/customFields — the custom fields visible for a given asset. A POST endpoint despite reading nothing but metadata.

Dates and Date Ranges

How Agility stores date ranges. EndDate is exclusive — midnight of the day after the range ends — which is the source of most off-by-one errors against the API.

Debugging with noloc

Turn localization off to see raw localization tags instead of localized text — the fastest way to find out which tag drives a piece of UI or an API label.

Delete a Subscription

Delete a webhook subscription with POST ~/api/webhook/delete/:id — note the verb and the path shape.

Delivery Status

Inspect the 20 most recent delivery receipts for a subscription to troubleshoot webhooks that are not arriving.

Errors

The HTTP status codes the Agility APIs return, what each one means, and how to read the error payload.

Errors and Partial Failures

How the Bulk API reports partial failure, how failures cascade through a hierarchy, and how to correct and reissue a failed request safely.

Event Types

Describe exactly which asset changes should fire a webhook using type, from, attributes, filter, with, userContext and select.

Field Visibility

Discover which attributes are appropriate to show a user for a given asset type, scope and licence — api/visibleFields, api/visibleFieldsByAsset, api/customFields and api/canbeimportant.

Find and Replace

Conditionally replace substrings in text attributes and swap references in multi-value relations across many assets at once.

Hot Reload and Caching

How Agility picks up edited localization template files without a restart, and the ETag caveat that can hide the change from HTTP clients.

HTTP Headers

The Authorization, Content-Type and Accept headers required by every Agility API request, and what each one controls.

Invoking Operations

Execute Agility operations against one asset or every asset matching a query, with args, list, and subquery parameter forms.

Localization (loc-2.v1)

The localization API and the localizer engine behind it: term stacks, nested substitution, culture fallback, template set overrides, hot reload and noloc.

Merge Tags

Collapse several tags into one across every asset with POST ~/api/tags/command/merge.

Meta API (meta.v1)

Discover the asset types, attribute definitions and operations your Agility instance actually supports, before you address them through rest-1.v1.

Nested Tag Substitution

How {} placeholders inside a localization template are resolved recursively, how numeric term indices work, and how literal braces are escaped.

Preview Mode

Use ?previewOnly=true to stop a Bulk API request after the projection phase and inspect exactly what it would do.

Project Roles (api/ProjectRoles)

Read which members hold which roles on which projects. A read-only, self-describing endpoint that publishes its own RAML specification.

Queries

Issue one or many independent queries in a Bulk API request and read the multi-result-set response.

Query a Tag

Retrieve usage counts for a single tag with GET ~/api/tags?tag=<tag>.

Query Activity

Retrieve the activity feed for an asset, with a field-by-field walkthrough of the response.

Query All Tags

Retrieve every tag in use across the instance with usage counts, via GET ~/api/tags/all.

Remove Tags

Purge tags from every asset carrying them with POST ~/api/tags/command/remove.

Request and Response Format

Content types, the JSON-array and YAML-multi-document forms, the response envelope, resultMetaData, and config counts-only.

Requests and Responses

Methods, query-string syntax, response shapes, authentication, errors and caching for the loc-2.v1 localization endpoint.

REST API (rest-1.v1)

Query, create, update and operate on Agility assets over HTTP, including full historical access through the Hist namespace.

Room Panels

api/teamroom and api/planningroom — list, install, remove and update the panels in a room, including the planning-room panel configuration payload and its perspective override.

Rooms & Panels

api/teamroom and api/planningroom — configure the panels shown in a Team Room or Planning Room.

Search Tags

Substring-match tag names with GET ~/api/tags/command/search?term=<term>.

Tags (api/tags)

Query, search, merge and remove asset tags instance-wide through ~/api/tags.

Template File Format

The text file format behind Agility localization template sets: naming, UTF-8 encoding, comments, escaping, multi-line values and deletions.

Template Sets and Override Order

How Base, edition and Company template sets stack, how later sets override earlier ones, how an empty value deletes an entry, and what Agility actually loads.

Terminology

Asset, asset type, asset state, attribute definition and Oid — the five terms the Agility API vocabulary is built from.

Terminology Overrides

api/localization and api/localizations — read and write the terminology overrides that sit at the top of the localization resolution stack.

Updating Assets

Update a single asset by OID token, or every asset matching a query, in one Bulk API request.

Updating Multi-Value Relations

The complete add/remove grammar for multi-value relations on the Bulk API, including object-keys, subquery, and mixed forms.

Valid Values (api/ValidValues)

Ask what values a relation attribute may take - the endpoint the application uses to populate its dropdowns, Team Process included.

Visible Fields

api/visibleFields and api/visibleFieldsByAsset — the attribute names appropriate to display for an asset type in a scope, or for one specific asset.

Watch (api/watch)

Subscribe the calling member to an asset, check whether they are watching it, and list everything they watch.

Webhook Payload

The JSON Agility POSTs to your endpoint, the headers it sends, and how to verify the HMAC signature.

Webhooks (api/webhook)

Subscribe to asset created and changed events and have Agility push them to your system instead of polling.