Skip to content

Commit

Permalink
feat(vdp): add component definition list endpoint (#137)
Browse files Browse the repository at this point in the history
Because

- Website needs to access a paginated list of components

This commit

- Opens the endpoint introduced in
instill-ai/protobufs#274
  • Loading branch information
jvallesm authored and heiruwu committed Feb 29, 2024
1 parent d8e3d4a commit 8e459b7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion config/settings-env/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,18 @@
"timeout": "5s",
"input_query_strings": []
},
{
"endpoint": "/v1beta/component-definitions",
"url_pattern": "/v1beta/component-definitions",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
"page_size",
"page_token",
"view",
"filter"
]
},
{
"endpoint": "/v1beta/operator-definitions",
"url_pattern": "/v1beta/operator-definitions",
Expand Down Expand Up @@ -1528,6 +1540,12 @@
"method": "POST",
"timeout": "5s"
},
{
"endpoint": "/vdp.pipeline.v1beta.PipelinePublicService/ListComponentDefinitions",
"url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListComponentDefinitions",
"method": "POST",
"timeout": "5s"
},
{
"endpoint": "/vdp.pipeline.v1beta.PipelinePublicService/ListOperatorDefinitions",
"url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListOperatorDefinitions",
Expand Down Expand Up @@ -2070,4 +2088,4 @@
}
]
}
}
}

0 comments on commit 8e459b7

Please sign in to comment.