mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
Order and update LastResponseStatus (fixes #150)
This commit is contained in:
parent
9035db05e8
commit
c77e03b9ba
@ -4,27 +4,6 @@ public enum LastResponseStatus
|
|||||||
{
|
{
|
||||||
Unknown = 0,
|
Unknown = 0,
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The request was successful!
|
|
||||||
/// </summary>
|
|
||||||
Successful = 20,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The request has been cached, it will be sent later
|
|
||||||
/// </summary>
|
|
||||||
Cached = 21,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The request could not be sent, and could not be cached.
|
|
||||||
/// Check the Exception property of the response for details.
|
|
||||||
/// </summary>
|
|
||||||
CacheFailed = 22,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The request failed, check for network connectivity
|
|
||||||
/// </summary>
|
|
||||||
RequestFailed = 23,
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The service requested does not exist (2)
|
/// The service requested does not exist (2)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -77,7 +56,7 @@ public enum LastResponseStatus
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The request signature was invalid. Check that your API key and secret are valid. (13)
|
/// The request signature was invalid. Check that your API key and secret are valid. (13)
|
||||||
/// You can generate new keys at http://www.last.fm/api/accounts
|
/// You can generate new keys at https://www.last.fm/api/account/create
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BadMethodSignature = 13,
|
BadMethodSignature = 13,
|
||||||
|
|
||||||
@ -86,6 +65,33 @@ public enum LastResponseStatus
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
TemporaryFailure = 16,
|
TemporaryFailure = 16,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// User required to be logged in. (17)
|
||||||
|
/// Requested profile might not have privacy set to public.
|
||||||
|
/// </summary>
|
||||||
|
LoginRequired = 17,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The request was successful!
|
||||||
|
/// </summary>
|
||||||
|
Successful = 20,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The request has been cached, it will be sent later
|
||||||
|
/// </summary>
|
||||||
|
Cached = 21,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The request could not be sent, and could not be cached.
|
||||||
|
/// Check the Exception property of the response for details.
|
||||||
|
/// </summary>
|
||||||
|
CacheFailed = 22,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The request failed, check for network connectivity
|
||||||
|
/// </summary>
|
||||||
|
RequestFailed = 23,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This API key has been suspended, please generate a new key at http://www.last.fm/api/accounts (26)
|
/// This API key has been suspended, please generate a new key at http://www.last.fm/api/accounts (26)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -93,6 +99,7 @@ public enum LastResponseStatus
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This API key has been rate-limited because too many requests have been made in a short period. Retry later (29)
|
/// This API key has been rate-limited because too many requests have been made in a short period. Retry later (29)
|
||||||
|
/// For more information on rate limits, please contact Last.FM at the partners@last.fm email address.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
RateLimited = 29
|
RateLimited = 29
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user