Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for item do not return number of item #1919

Open
mrsombre opened this issue Jan 30, 2024 · 2 comments
Open

API for item do not return number of item #1919

mrsombre opened this issue Jan 30, 2024 · 2 comments

Comments

@mrsombre
Copy link

For this endpoints:

  • /api/v1/{{project}}/item
  • /api/v1/{{project}}/item/{{suiteID}}

Response returns in form

{
  "id": "8ff2f6ac-a796-4f74-8bb4-558cc6ada8b8",
  "uniqueId": "auto:34d816ceeab86fd0310824b5fe2957b4"
}

While for /api/v1/{{project}}/launch it also return a number, like

{
  "id": "4c81d485-1164-4e1e-aa4e-0cd1efb6a1a9",
  "number": 3
}

which is quite useful to avoid unnecessary request to get actual number, can you add this to API?

@Kozovskaya
Copy link

Hello @mrsombre
could you please specify your request?
Number for the launch is the number of launch execution. For the test item we don't have the number.
Adding to the item just number of the launch execution seems useless, doesn't it?

@mrsombre
Copy link
Author

i'm sorry, not a number, but an id. so, if v1 api is synchronous, we already know numeric id when api answers on creating launch / suite, but as i can understand, you keep id as actually uuid for backward compatibility. so maybe you could add new field, like key or numericId.
what i want, to know uuid and id when start launch / suite, so i do not need additional request for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants