API Changes

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Cliff Spradlin.3512

Lead Programmer

Next

This thread will document all API changes.

If you write software that uses this API, you should watch this thread for changes that may affect you.

(edited by Cliff Spradlin.3512)

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The APIs have been updated to support CORS (Access-Control-Allow-Origin: *). This allows cross-domain javascript to request API information.

Note: We do not support OPTIONS requests, so you’ll need to disable any custom request headers you or your javascript library use or it won’t work.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The APIs have been updated to set a Cache-Control header for dynamic content. The header is:

Cache-Control: no-cache

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The APIs have been updated with the following changes:

  • New Guild API (see API Documentation for details)
  • Item discovery has been improved, so hopefully any missing item issues will be resolved
  • Added recipe restrictions and flags to recipe_details.json.
  • Added start_time and end_time to wvw/matches.json
  • In item_details.json:
  • Added minor new APIs for getting the current build number and color / dye information. (see API Documentation for details)

In principle, we should version the API for breaking changes like the ones to item_details.json. For now we’re not doing that. We apologize for any inconvenience.

(edited by Cliff Spradlin.3512)

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The Color API has been updated. The color values have been improved to be easier to use, and localized text names for the colors were added. The API Documentation was updated to reflect these changes.

(edited by Cliff Spradlin.3512)

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The guild API has been updated. Emblem information is now easier to parse.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The Color API has been updated again with potentially more useful color values. Also, the JSON types were corrected. The colors now also only include the materials that are actually defined for them.

(edited by Cliff Spradlin.3512)

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The Color API was updated with the following changes:

  • Added pre-calculated ‘RGB’ values for users who only want an RGB value and are not planning to apply the color to a texture mask.
  • Added base_rgb value to each color returned
  • Changed API to only return ‘dye’ colors. Previously the API showed skin, eye, hair, etc. colors in addition to dyes.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The item API was updated with the following fixes and enhancements:

  • Added bonus tiers for upgrade components
  • Fixed ‘SoulBindOnUse’ flag for certain items

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The item API was updated with the following enhancements:

  • Consumable unlock items now show the type of unlock they perform
  • Consumable dyes and recipes now show the color_id and recipe_id they unlock

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

The events API was updated. There is now a new state called ‘Inactive’. This was reflected in the API documentation.

The inactive state is slightly different from the warmup state. An event in warmup is waiting for specific criteria to startup (usually, some amount of time must pass). An inactive event will stay inactive until it is activated by some external event.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

A new maps API was added, as well as a world map tile service.

These two services can be used together to create world maps outside of the game, and will serve as the basis for future map-based API content.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

A new events API was added: event_details.json.

This API returns more detailed information about events, including their starting position in the world. This can be used in conjunction with the map API to show the position of events on the world map.

API Changes

in API Development

Posted by: Cliff Spradlin.3512

Previous

Cliff Spradlin.3512

Lead Programmer

Next

A new rendering service was added for retrieving game assets in web-friendly form.

The item API was updated to show item icon IDs that can be used in conjunction with the rendering service. Also, a small API was added that lists some generic useful UI icons that can be retrieved from the rendering service.

API Changes

in API Development

Posted by: Stephane Lo Presti

Previous

Stephane Lo Presti

Content Marketing Manager, French

Hi everyone,

As explained here, we’re going to progressively move this stickied thread to the official Guild Wars 2 wiki.

The new page for the API change list is this article on the wikis: http://wiki.guildwars2.com/wiki/API:Changelog

Thanks.