Skip to content

Commit

Permalink
chore(model): add get model image endpoint (#180)
Browse files Browse the repository at this point in the history
Because

- Model page needs to support displaying custom profile image

This commit

- add endpoint to retrieve model profile image
  • Loading branch information
heiruwu authored May 13, 2024
1 parent 37333d1 commit 32eb199
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/settings-env/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,20 @@
"method": "GET",
"timeout": "30s",
"input_query_strings": []
},
{
"endpoint": "/v1alpha/users/{user_id}/models/{model_id}/image",
"url_pattern": "/v1alpha/users/{user_id}/models/{model_id}/image",
"method": "GET",
"timeout": "30s",
"input_query_strings": []
},
{
"endpoint": "/v1alpha/organizations/{organization_id}/models/{model_id}/image",
"url_pattern": "/v1alpha/organizations/{organization_id}/models/{model_id}/image",
"method": "GET",
"timeout": "30s",
"input_query_strings": []
}
],
"grpc_auth": [
Expand Down

0 comments on commit 32eb199

Please sign in to comment.