File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed 
docs/api/rest_api/rest_api_reference/input Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -2305,6 +2305,29 @@ SegmentUpdateWrapper:
23052305    properties :
23062306        SegmentCreate : SegmentUpdate 
23072307
2308+ UserSegmentList :
2309+     type : object 
2310+     properties :
2311+         UserSegment :
2312+             type : UserSegment[] 
2313+ 
2314+ UserSegmentListWrapper :
2315+     description : ' JSON object with only a UserSegmentList property' 
2316+     type : object 
2317+     properties :
2318+         UserSegmentList : UserSegmentList 
2319+ 
2320+ UserSegment :
2321+     type : object 
2322+     properties :
2323+         id : integer 
2324+         identifier : string 
2325+         name : string 
2326+         SegmentGroup :
2327+             type : Ref 
2328+         User :
2329+             type : Ref 
2330+ 
23082331SortClause :
23092332    description : ' This class is the base for SortClause classes, used to set sorting of content queries.' 
23102333    type : object 
@@ -6274,4 +6297,3 @@ ActionConfiguration:
62746297        updatedAt :
62756298            type : datetime 
62766299            description : ' Timestamp indicating when the action configuration was last updated.' 
6277- 
Original file line number Diff line number Diff line change @@ -330,13 +330,21 @@ head:
330330    /segments :
331331        get :
332332            displayName : View user segments 
333-             description : TODO 
333+             description : Return user's segment list. 
334334            headers :
335335                Accept :
336336                    description : If set, the user's segment list is returned in XML or JSON format. 
337337                    example : | 
338338                        application/vnd.ibexa.api.UserSegmentList+xml 
339339                        application/vnd.ibexa.api.UserSegmentList+json 
340+ responses :
341+                 200 :
342+                     body :
343+                         application/vnd.ibexa.api.UserSegmentList+xml :
344+                             type : UserSegmentList 
345+                         application/vnd.ibexa.api.UserSegmentList+json :
346+                             type : UserSegmentListWrapper 
347+                 # TODO: 404, 401, …?
340348        post :
341349            displayName : Assign Segments to User 
342350            description : Assigns Segments from payload to User given by ID. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments