SAS Model Manager tracks model versions. A data scientist wants to programmatically list all versions of a registered model via the REST API. Which endpoint pattern is correct?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — a is correct because the SAS Model Manager REST API follows RESTful conventions where model versions are a sub-resource of models: GET /modelRepository/models/{modelId}/versions returns all registered versions for a specific model. B is wrong; listing is a GET operation, not POST.
Full explanation below image
Full Explanation
A is correct because the SAS Model Manager REST API follows RESTful conventions where model versions are a sub-resource of models: GET /modelRepository/models/{modelId}/versions returns all registered versions for a specific model. B is wrong; listing is a GET operation, not POST. C is wrong; that endpoint lists models within a project, not versions of a specific model. D is wrong; versions are accessed per model, not per repository.