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

Add documentation and example about enumerate attributes #2731

Closed
sbrunner opened this issue Jan 3, 2017 · 0 comments
Closed

Add documentation and example about enumerate attributes #2731

sbrunner opened this issue Jan 3, 2017 · 0 comments
Milestone

Comments

@sbrunner
Copy link
Member

sbrunner commented Jan 3, 2017

View code https://github.com/camptocamp/c2cgeoportal/blob/master/c2cgeoportal/views/layers.py#L413

Example of query:
.../layers/{layer_name}/values/{field_name}

Example of result:

{
  "items": [{
    "label": "<name>",
    "value": "<value>"
  }, ...]
}
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

No branches or pull requests

1 participant