wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
335 stars 131 forks source link

UserQueryBuilder Statuses #347

Closed jeffkaffen closed 3 months ago

jeffkaffen commented 9 months ago

Looking to add Statuses support to the CustomRequest.GetAsync, I think the below needs to be added in UserQueryBuilder.cs

    //
    // Summary:
    //     Limit result set to posts assigned one or more statuses.
    //
    // Remarks:
    //     Default: publish
    [QueryText("status")]
    public List<Status> Statuses { get; set; }
ThomasPe commented 9 months ago

feel free to open a pr