Open fres621 opened 1 month ago
if a tag is invoked within other tag using {tag:name} then there should either be an indication of so or the X-Assyst-Tag object would hold data of the most external tag (e.g. if tag outer
calls tag inner
which does a request, the object should give information about outer
)
Can probably be added with not too much hassle, cc @y21 It's possible we can give tags free-rein over request headers altogether but with a few default ones like you suggested,
What would you like to see added to Assyst? Assyst tags let us use our own APIs and we can verify that the request was made via Assyst because the IP it uses to fetch is always the same, however it'd be useful to additionally have some headers to identify the server, channel and tag that made the http request
Additional context This'd let us who already own private APIs let Assyst tags access them without the risk of abuse if for example we could check the tag's owner ID, guild ID etc Suggested headers: