aiondemand / aiondemand/aiod-enhanced-interaction

Resolve inconsistencies with standard asset search

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the Feature**
The current search endpoint differs from the standard search endpoint at `api.aiod.eu` in multiple aspects. It would be nice to make it consistent at least in some of the aspects:

- [ ] Add pagination of results, i.e. add parameters `limit` and `offset`.
- [x] Rename query parameter `query` to `search_query`.
- [ ] Modify the response to contain only standard fields and change the `status` logic to use the status code instead.

**Considered Alternatives**
There is an option of implementing only some of the changes. Another alternative is to leave it as it is and let the other client services to rely on implementing the logic themselves.

**Additional context**
Motivation of this feature is to make it more consistent with the current search endpoint, e.g. `https://api.aiod.eu/search/datasets/v1`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.