gotosocial/internal/api/model
tobi e2daf0f012
Add Accept header negotiation to relevant API endpoints (#337)
* start centralizing negotiation logic for API

* swagger document nodeinfo endpoint

* go fmt

* document negotiate function

* use content negotiation

* tidy up negotiation logic

* negotiate content throughout client api

* swagger

* remove attachment on Content

* add accept header to test requests
2021-12-11 17:50:00 +01:00
..
account.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
admin.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
announcement.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
announcementreaction.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
application.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
attachment.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
block.go Block/unblock (#96) 2021-07-11 16:22:21 +02:00
card.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
content.go Ap (#14) 2021-05-08 14:25:55 +02:00
context.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
conversation.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
domainblock.go Swagger (#124) 2021-07-31 17:49:59 +02:00
emoji.go more swagger docs + other changes (#125) 2021-07-31 23:17:39 +02:00
featuredtag.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
field.go Swagger (#124) 2021-07-31 17:49:59 +02:00
filter.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
history.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
instance.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
list.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
marker.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
mention.go Swagger (#124) 2021-07-31 17:49:59 +02:00
notification.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
oauth.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
poll.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
preferences.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
pushsubscription.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
relationship.go Swagger (#124) 2021-07-31 17:49:59 +02:00
results.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
scheduledstatus.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
search.go Frodo swaggins (#126) 2021-08-02 19:06:44 +02:00
source.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
status.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
tag.go Swagger (#124) 2021-07-31 17:49:59 +02:00
timeline.go Refactor/tidy (#261) 2021-10-04 15:24:19 +02:00
token.go Swagger (#124) 2021-07-31 17:49:59 +02:00
user.go User password change (#280) 2021-10-14 14:26:04 +02:00
well-known.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00