Project

General

Profile

Actions

Bug #22198

closed

Get rid of 'href` in response

Added by Peter Amstutz 19 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Story points:
-

Description

I observed that several endpoints (users, collections) don't return the documented 'href' field. It seems likely they have not returned this field for a long time (since controller started intercepting these requests), but nobody noticed because nobody relies on it.

On the other hand, some endpoints (workflows, groups) do still return 'href'.

The 'href' field is a synthetic field (not stored in the database) and not very useful because it contains information that can be inferred from the 'uuid' field. (In theory, it could be useful for writing a generic client that doesn't need to understand how the arvados uuid scheme maps to API endpoints, but we've never wanted to do anything like that in practice.)

This was overlooked in the previous cleanup ticket, but the time to make API changes like this is now, before the 3.0 release.

We can save a few bytes if we get rid of this field from the response entirely.


Subtasks 2 (0 open2 closed)

Task #22242: Fix workbench 2ResolvedPeter Amstutz10/24/2024Actions
Task #22243: Review 22198-remove-href-field ResolvedPeter Amstutz10/24/2024Actions

Related issues

Related to Arvados - Feature #15397: Declutter the APIResolvedTom CleggActions
Actions

Also available in: Atom PDF