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

(breaking) Future-proof source catalog #754

Merged
merged 3 commits into from
Aug 28, 2023
Merged

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Jul 9, 2023

Modify /catalog endpoint to return an object instead of a list. This allows future expansion of the catalog schema, e.g. adding new types of data.

The new schema:

{
  "tiles" {
    "function_zxy_query": {
      "name": "public.function_zxy_query",
      "content_type": "application/x-protobuf"
    },
    "points1": {
      "name": "public.points1.geom",
      "content_type": "image/webp"
    },
    ...
  },
}

Modify `/catalog` endpoint to return an object instead of a list.  This allows future expansion of the catalog schema, e.g. adding new types of data.
Copy link
Collaborator

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

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

👍

@nyurik nyurik enabled auto-merge (squash) August 28, 2023 03:56
@nyurik nyurik merged commit 550a46b into maplibre:main Aug 28, 2023
@nyurik nyurik deleted the obj-catalog branch August 28, 2023 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants