Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-1968

API - Update RepositoryResponse for snapshotting

      Goal: 

      • Update RepositoryResponse within the API to include needed snapshotting information for the UI.

      Considerations: 

      • Below are the expected additions to the RepositoryResponse. 
      {    
      name: “myrepo”,  
      ...rest of response,  
      most_recent_snapshot_task: "currentOngoingSnapshottingTaskOrLastSnapshottingTaskUUID",   
      last_snapshot : {      
        Uuid:        
        Content_counts:       
        Added_content_counts      
        Removed_content_counts      
        created_at: 
      }

      Acceptance Criteria:

      • When I fetch/update/create a repository or list repositories, I should get the last_snapshot <object seen above> and and most_recent_snapshot_task UUID. 

            rhn-engineering-adewar Andrew Dewar
            rhn-engineering-adewar Andrew Dewar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: