/// <summary> /// Makes a request to API method /users/{ids}/tags /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/tags-on-users</para> /// </summary> /// <param name="id">The single user in {ids}.</param> /// <param name="parameters">The request parameters.</param> /// <returns>Returns the tags the user identified by <paramref name="id"/> have been active in.</returns> public override IBridgeResponseCollection<Tag> GetUserActiveTags(long id, TagsQuery parameters = null) { return GetUsersActiveTags(new[] { id }, parameters); }
/// <summary> /// Makes a request to API method /tags /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/tags</para> /// </summary> /// <param name="parameters">The request parameters.</param> /// <returns>Returns all the tags found on a site.</returns> public override IBridgeResponseCollection<Tag> GetTags(TagsQuery parameters = null) { return GetApiResultCollection<Tag, TagsQuery>(ApiMethodEnum.Tags, parameters); }
/// <summary> /// Makes a request to API method /tags/{tags}/related /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/related-tags</para> /// </summary> /// <param name="tag">The single tag in {tags}.</param> /// <param name="parameters">The request parameters.</param> /// <returns>Returns the tags that are most related to that identified by <paramref name="tag"/>.</returns> public override IBridgeResponseCollection<Tag> GetTagRelated(string tag, TagsQuery parameters = null) { return GetTagsRelated(new[] { tag }, parameters); }
/// <summary> /// Makes a request to API method /users/{ids}/tags /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/tags-on-users</para> /// </summary> /// <param name="ids">The user {ids} vector.</param> /// <param name="parameters">The request parameters.</param> /// <returns>Returns the tags the users identified by <paramref name="ids"/> have been active in.</returns> public override IBridgeResponseCollection<Tag> GetUsersActiveTags(long[] ids, TagsQuery parameters = null) { return GetApiResultCollection<Tag, TagsQuery>(ApiMethodEnum.TagsOnUsers, CreateIdsVector(ids), parameters); }
/// <summary> /// Makes a request to API method /me/tags /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/me-tags</para> /// </summary> /// <param name="parameters">The request parameters.</param> /// <returns>Returns the tags the authenticated user have been active in.</returns> public IBridgeResponseCollection<Tag> GetMyActiveTags(TagsQuery parameters = null) { return GetApiResultCollection<Tag, TagsQuery>(ApiMethodEnum.MyTags, parameters); }
/// <summary> /// Makes a request to API method /me/tags /// <para>Documentation can be found following the link below:</para> /// <para>https://api.stackexchange.com/docs/me-tags</para> /// </summary> /// <param name="parameters">The request parameters.</param> /// <returns>Returns the tags the authenticated user have been active in.</returns> public IBridgeResponseCollection <Tag> GetMyActiveTags(TagsQuery parameters = null) { return(GetApiResultCollection <Tag, TagsQuery>(ApiMethodEnum.MyTags, parameters)); }