GoToSocial/internal/api/model
tobi 68736efd20
[feature] add configuration to `/api/v1/instance` response (#670)
* add configuration object to api instance model

* regenerate swagger docs

* add func to return all supported mimes for media

* add instance configuration to api serialization

* fix json tags

* update instance endpoint tests

* fix typeutils tests

* final regen of swagger docs

* omitempty instance configuration
2022-06-26 10:58:45 +02:00
..
account.go [feature] Federate local account deletion (#431) 2022-03-15 16:12:35 +01:00
admin.go [feature] Media cleanup endpoint (#560) 2022-05-15 14:52:46 +02:00
announcement.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
announcementreaction.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
application.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
attachment.go [chore] Mastodon api fixups (#617) 2022-05-28 18:59:55 +01:00
block.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
card.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
content.go [feature] Stream files via reader (#404) 2022-02-19 11:44:56 +01:00
context.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
conversation.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
domain.go [feature] Implement `/api/v1/instance/peers` endpoint (#660) 2022-06-23 16:54:54 +02:00
emoji.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
featuredtag.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
field.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
filter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
history.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
instance.go [feature] add configuration to `/api/v1/instance` response (#670) 2022-06-26 10:58:45 +02:00
list.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
marker.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
mention.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification.go [feature] Add paging via `Link` header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
oauth.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
poll.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
preferences.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
pushsubscription.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
relationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
results.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
scheduledstatus.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
search.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
source.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [chore] Mastodon api fixups (#617) 2022-05-28 18:59:55 +01:00
tag.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline.go [feature] Add paging via `Link` header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
token.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
well-known.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00