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

feat(specs): add objects endpoints #54

Merged
merged 15 commits into from
Jan 3, 2022
Merged

Conversation

damcou
Copy link
Contributor

@damcou damcou commented Dec 29, 2021

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-189

Changes included:

  • Add last objects endpoints

🧪 Test

CI :D

@damcou damcou self-assigned this Dec 29, 2021
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few duplicated refs but looks really good!! GG

specs/search/paths/objects/deleteBy.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/partialUpdate.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/partialUpdate.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/object.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/object.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/deleteBy.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/clearObjects.yml Outdated Show resolved Hide resolved
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall! Small comment on the searchParams hence the request changes

specs/search/spec.yml Outdated Show resolved Hide resolved
specs/search/spec.yml Outdated Show resolved Hide resolved
specs/search/paths/search/search.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/partialUpdate.yml Show resolved Hide resolved
specs/search/paths/objects/partialUpdate.yml Show resolved Hide resolved
Comment on lines +54 to +55
additionalProperties:
$ref: 'common/schemas.yml#/attribute'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be properties?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the same type of data than the partialUpdate one, with n attributes to retrieve. Is it different ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if there was mandatory fields etc. but if not then it's good like this

specs/search/paths/objects/common/schemas.yml Outdated Show resolved Hide resolved
specs/search/paths/objects/multipleBatch.yml Show resolved Hide resolved
@damcou damcou requested a review from shortcuts January 3, 2022 14:12
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good!

We should maybe create Jira tasks for the missing CTS so we don't forget

@damcou damcou merged commit a12d204 into main Jan 3, 2022
@damcou damcou deleted the feat/APIC-189/object-endpoints branch January 3, 2022 15:04
shortcuts pushed a commit that referenced this pull request Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants