Skip to main content

Frends API 1.0 changes

Changes from the Management API 0.9 to Frends API 1.0

E
Written by Erkka Honkavaara
Updated over a year ago

Frends 5.7 introduces Frends API (previously Frends Management API) 1.0. Frends API 0.9 is no longer available.

Do not hesitate to submit a bug report for any problems that you encounter.

Breaking Changes | Migrating from 0.9

The API version has been changed. Consumers must update their requests accordingly. For example:

Before:

/api/v0.9/environments

Now:

/api/v1.0/environments

The shorthand

/api/v1/environments 

works as well.

Error responses now take the form of Problem Details. Any consuming code which reads the body of an error response must be reviewed. For example:

Before:

Request:

DELETE /api/v0.9/environment-variables/1

Response:

Can not delete environment variable in use.

MyProcess - 0.1.0 (Development)

Now:

Request:

DELETE /api/v1.0/environment-variables/1

Response:

{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1 ",
"title": "Bad Request",
"status": 400,
"detail": "Can not delete environment variable in use. \n MyProcess - 0.1.0 (Development)",
"traceId": "00-fd70dba238637b1498d8f0702c8e1592-91ccf60e9c8a9033-00"
}

Bug fixes

  • Setting the value of an Environment Variable in an Environment which does not already have a value for the given schema is now possible

Other changes

  • Support for Templates and API passthroughs has been added

  • Swagger UI has been updated and is now accessible via

    /swagger/index.html

    which was previously

    /swagger/ui/index
Did this answer your question?