gotosocial/internal/api/client/status
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
..
status_test.go Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
status.go Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
statusboost_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusboost.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusboostedby.go reference global logrus (#274) 2021-10-11 14:37:33 +02:00
statuscontext.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statuscreate_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statuscreate.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusdelete.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusfave_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusfave.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusfavedby_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusfavedby.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusget_test.go smtp + email confirmation (#285) 2021-10-31 15:46:23 +01:00
statusget.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusunboost.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusunfave_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statusunfave.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00