Project

General

Profile

Actions

Bug #8866

closed

[API] 0 items found when requesting a list with filters that aren't URL-encoded

Added by Alexander Afanasyev about 8 years ago. Updated almost 8 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-

Description

There are resource's properties referencing to some data by it's portable_data_hash value, e.g. such as log and output properties for Job resource. How can I find out what collections "have this content" (as it does from the Workbench) making an API HTTP calls?
  • If portable_data_hash is used as an uuid of collection while making a call, API will respond with just Keep block locators inforamtion, no information about collections holding this content
  • Search doesn't work with portable_data_hash attribute, e.g. filter condition
    ["portable_data_hash","=","123456a1a11aa1234b1b1112223a1a11+2222"]
    doesn't make any filtration, but this does
    ["portable_data_hash","=",null]

At the moment I'm interested to get Job's log and output collections, and still wondering does Keep know that there are no collections referencing particular content it storing, and if so, what does it do in such cases?


Related issues

Is duplicate of Arvados - Bug #7166: [API] specifying an invalid filter should result in an errorNewActions
Actions

Also available in: Atom PDF