Skip to content

Commit d610f25

Browse files
authored
Merge pull request #176 from rstudio/doc-api-structure
2 parents 1a5cac5 + 9bd6969 commit d610f25

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

vetiver/server.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ class VetiverAPI:
4343
4444
Notes
4545
-----
46+
This generates an API with either 2 or 3 GET endpoints and 1 POST endpoint.
47+
48+
├──/ping (GET)
49+
├──/metadata (GET)
50+
├──/pin-url (GET, if VetiverModel metadata `url` field is not None)
51+
└──/predict (POST)
52+
4653
Parameter `check_ptype` was changed to `check_prototype`. Handling of `check_ptype`
4754
will be removed in a future version.
4855
"""

0 commit comments

Comments
 (0)