gotosocial/internal/api/client/account
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_test.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
account.go Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
accountcreate_test.go Timeline manager (#40) 2021-06-13 18:42:28 +02:00
accountcreate.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
accountget.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
accountupdate_test.go kim is a reply guy (#208) 2021-09-11 13:19:06 +02:00
accountupdate.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
accountverify_test.go fixes + db changes (#204) 2021-09-10 14:36:10 +02:00
accountverify.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
block.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
follow.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
followers.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
following.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
relationships.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
statuses.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
unblock.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
unfollow.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00