Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Associated documents is showing as contracts #5

Open
jerico opened this issue Oct 13, 2015 · 1 comment
Open

Associated documents is showing as contracts #5

jerico opened this issue Oct 13, 2015 · 1 comment

Comments

@jerico
Copy link

jerico commented Oct 13, 2015

We'd like to display only the main contracts. However, when associated documents are published, it is showing along with the parent contracts in the results.

Can I request additional key that flags the document that it is just a associated document?

http://54.173.9.19/api/contracts?country_code=ph&per_page=1000

@jerico
Copy link
Author

jerico commented Nov 28, 2015

@anjesh I've read implementation regarding associated documents at NRGI/resourcecontracts.org#624. I can see the "is_supporting_document" when doing a /contract/id/metadata.

I'd like to ask if it's possible to include is_supporting_document on /contracts and /contracts/search results?

Thanks

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

No branches or pull requests

1 participant