Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Redirect
filename
location1558445671

Table of Contents

About API

Zephyr Enterprise exposes its data via a REST API. You can use the API to:

  • Import data from other tools to Zephyr.
  • Integrate Zephyr with other applications.
  • Get information about users, projects, releases, test case repositories and the underlying folders, test cases, custom fields, execution cycles.
  • Create new test case folders, test cases, requirements, execution cycles, execution phases.
  • Add/modify/delete attachments and phases of existing execution cycles.
  • Assign test execution schedules.
  • Update test cases and test case execution status.
  • Create an execution cycle and update the status of a test case execution run.
  • Run quick search and Advanced Search (use ZQL).
  • And more.

Reference

An API reference in the API Blueprint format is available here:

...

Most API operations require authentication. Zephyr Enterprise API supports the following methods of authenticating requests:

Info

If your Zephyr Enterprise instance uses single sign-on, you must use API tokens.

If Zephyr is configured with internal authentication, you can use any of the API authentication methods.

...

Note: Basic authentication requires that the username and password consist of ASCII characters. If they contain non-ASCII characters, use an API token instead.

Anchor
cookies
cookies
Cookie authentication

...

http(s)://SERVER[:PORT]/flex/services/rest/latest/manifest

with a Basic authentication header containing your Zephyr username and password.

...

Cookies expire after 90 minutes, after which you will get a 401 response from the API. At this point, you will need to get a new cookie for use in subsequent requests.

Use cases

...