Renamed social endpoints
This commit is contained in:
parent
9450a3ad66
commit
999ef668d1
@ -360,7 +360,7 @@ endpoints:
|
||||
- name: readExposedSocial
|
||||
method: GET
|
||||
title: List all exposed modules changes in activity streams format
|
||||
path: "/social"
|
||||
path: "/activity-stream"
|
||||
parameters:
|
||||
path:
|
||||
- type: uint64
|
||||
@ -458,7 +458,7 @@ endpoints:
|
||||
- name: readExposedSocial
|
||||
method: GET
|
||||
title: List all records per module in activitystreams format
|
||||
path: "/{moduleID}/records/social/"
|
||||
path: "/{moduleID}/records/activity-stream/"
|
||||
parameters:
|
||||
path:
|
||||
- type: uint64
|
||||
|
||||
@ -90,6 +90,6 @@ func (h SyncData) MountRoutes(r chi.Router, middlewares ...func(http.Handler) ht
|
||||
r.Use(middlewares...)
|
||||
r.Get("/nodes/{nodeID}/modules/exposed/records/", h.ReadExposedAll)
|
||||
r.Get("/nodes/{nodeID}/modules/{moduleID}/records/", h.ReadExposedInternal)
|
||||
r.Get("/nodes/{nodeID}/modules/{moduleID}/records/social/", h.ReadExposedSocial)
|
||||
r.Get("/nodes/{nodeID}/modules/{moduleID}/records/activity-stream/", h.ReadExposedSocial)
|
||||
})
|
||||
}
|
||||
|
||||
@ -71,6 +71,6 @@ func (h SyncStructure) MountRoutes(r chi.Router, middlewares ...func(http.Handle
|
||||
r.Group(func(r chi.Router) {
|
||||
r.Use(middlewares...)
|
||||
r.Get("/nodes/{nodeID}/modules/exposed/", h.ReadExposedInternal)
|
||||
r.Get("/nodes/{nodeID}/modules/exposed/social", h.ReadExposedSocial)
|
||||
r.Get("/nodes/{nodeID}/modules/exposed/activity-stream", h.ReadExposedSocial)
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user