86
Views
2
Comments
Retrieving All Module Versions for a Module from LifeTime API
Application Type
Service

I am trying to create a service to interface with the LifeTime API but I find the documentation for the API and how all of the different data structures relate to each other to be unclear.

I am calling 

GET /modules/{ModuleKey}/versions/ with a MaximumVersionsToReturn of 100. However, the response that I receive does not include every version of the module. When I open Service Studio and look at the versions of the module by clicking Module > Compare and Merge with Another Version or File, there are many versions in between the versions being returned by the API. Is the API grouping the versions together somehow? Is there any more documentation on this?


2024-12-18 16-06-42
Junaid Syed

Hi Dan,

I could not find any documentation, but just to validate that it is missing some versions would you like to test out the below API for the version that you think is missing in the other API response?

GET /modules/{ModuleKey}/versions/{ModuleVersionKey}/ 

Thanks,

Junaid

2022-01-05 23-55-28
Dan Kozlowski

For future reference, it seems like the LifeTime API only has access to the versions of the modules that have been deployed across versions, it cannot see versions that exist solely in one of the Service Centers.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.