songtradr_api_client_ruby 1.12.21 → 1.12.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +26 -12
- data/docs/APIKeysApi.md +217 -0
- data/docs/AdminApiUserDTO.md +70 -0
- data/docs/ApiKeyDTO.md +24 -0
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/CreateApiKeyDTO.md +18 -0
- data/docs/MusicalFeaturesDTO.md +54 -54
- data/docs/PlaylistLargeDTO.md +3 -3
- data/docs/ProductMediumDTO.md +9 -9
- data/docs/RecordingLargeDTO.md +14 -14
- data/docs/RecordingMediumDTO.md +14 -14
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPlaylistDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -4
- data/docs/UserDTO.md +2 -0
- data/getspec.rb +28 -5
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +453 -0
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +261 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +219 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +448 -448
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +16 -16
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +51 -51
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +71 -71
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +63 -63
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +16 -2
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +5 -1
- data/openapi-generator-config.yaml +4 -3
- data/songtradr_api_client_ruby.gemspec +4 -4
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/api_keys_api_spec.rb +70 -0
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +190 -0
- data/spec/models/api_key_dto_spec.rb +52 -0
- data/spec/models/category_medium_dto_spec.rb +3 -3
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +1 -1
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +165 -165
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +7 -7
- data/spec/models/product_medium_dto_spec.rb +9 -9
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +11 -11
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +4 -4
- data/spec/models/recording_small_dto_spec.rb +3 -3
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +7 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -76
data/docs/PlaylistLargeDTO.md
CHANGED
@@ -9,12 +9,12 @@
|
|
9
9
|
| **created** | **Time** | | [optional] |
|
10
10
|
| **updated** | **Time** | | [optional] |
|
11
11
|
| **description** | **String** | | [optional] |
|
12
|
+
| **usages** | [**Array<UsageDTO>**](UsageDTO.md) | | [optional] |
|
12
13
|
| **songtradr_playlist_guid** | **String** | | [optional] |
|
13
14
|
| **asset_url** | **String** | | [optional] |
|
14
15
|
| **pretzel_tier** | **String** | | [optional] |
|
15
16
|
| **usage** | **String** | | [optional] |
|
16
17
|
| **tracks** | [**Array<RecordingPlaylistDTO>**](RecordingPlaylistDTO.md) | | [optional] |
|
17
|
-
| **usages** | [**Array<UsageDTO>**](UsageDTO.md) | | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -27,12 +27,12 @@ instance = SongtradrApiClientRuby::PlaylistLargeDTO.new(
|
|
27
27
|
created: null,
|
28
28
|
updated: null,
|
29
29
|
description: null,
|
30
|
+
usages: null,
|
30
31
|
songtradr_playlist_guid: null,
|
31
32
|
asset_url: null,
|
32
33
|
pretzel_tier: null,
|
33
34
|
usage: null,
|
34
|
-
tracks: null
|
35
|
-
usages: null
|
35
|
+
tracks: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/ProductMediumDTO.md
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Time** | | [optional] |
|
8
|
-
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
9
|
-
| **parties** | [**Array<ProductPartyDTO>**](ProductPartyDTO.md) | | [optional] |
|
10
|
-
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
11
|
-
| **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
|
12
8
|
| **gtin** | **String** | | [optional] |
|
13
9
|
| **grid** | **String** | | [optional] |
|
14
10
|
| **release_date** | **Time** | | [optional] |
|
15
11
|
| **takedown_date** | **Time** | | [optional] |
|
12
|
+
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
13
|
+
| **parties** | [**Array<ProductPartyDTO>**](ProductPartyDTO.md) | | [optional] |
|
14
|
+
| **genres** | [**Array<GenreMinimalDTO>**](GenreMinimalDTO.md) | | [optional] |
|
15
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
@@ -21,14 +21,14 @@ require 'songtradr_api_client_ruby'
|
|
21
21
|
|
22
22
|
instance = SongtradrApiClientRuby::ProductMediumDTO.new(
|
23
23
|
duration: null,
|
24
|
-
pline: null,
|
25
|
-
parties: null,
|
26
|
-
titles: null,
|
27
|
-
genres: null,
|
28
24
|
gtin: null,
|
29
25
|
grid: null,
|
30
26
|
release_date: null,
|
31
|
-
takedown_date: null
|
27
|
+
takedown_date: null,
|
28
|
+
pline: null,
|
29
|
+
parties: null,
|
30
|
+
genres: null,
|
31
|
+
titles: null
|
32
32
|
)
|
33
33
|
```
|
34
34
|
|
data/docs/RecordingLargeDTO.md
CHANGED
@@ -5,17 +5,17 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
-
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
9
8
|
| **pline** | [**PLineDTO**](PLineDTO.md) | | [optional] |
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
13
|
-
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
9
|
+
| **spotify_id** | **String** | | [optional] |
|
10
|
+
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
14
11
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
15
12
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
16
13
|
| **language_of_performance** | **String** | | [optional] |
|
17
|
-
| **
|
18
|
-
| **
|
14
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
15
|
+
| **tracks** | [**Array<TrackToMediumProductDTO>**](TrackToMediumProductDTO.md) | | [optional] |
|
16
|
+
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
17
|
+
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
18
|
+
| **isrc** | **String** | | |
|
19
19
|
|
20
20
|
## Example
|
21
21
|
|
@@ -24,17 +24,17 @@ require 'songtradr_api_client_ruby'
|
|
24
24
|
|
25
25
|
instance = SongtradrApiClientRuby::RecordingLargeDTO.new(
|
26
26
|
duration: null,
|
27
|
-
tags: null,
|
28
27
|
pline: null,
|
29
|
-
|
30
|
-
|
31
|
-
tracks: null,
|
32
|
-
musical_features: null,
|
28
|
+
spotify_id: null,
|
29
|
+
genre_predictions: null,
|
33
30
|
parties: null,
|
34
31
|
genres: null,
|
35
32
|
language_of_performance: null,
|
36
|
-
|
37
|
-
|
33
|
+
titles: null,
|
34
|
+
tracks: null,
|
35
|
+
musical_features: null,
|
36
|
+
tags: null,
|
37
|
+
isrc: null
|
38
38
|
)
|
39
39
|
```
|
40
40
|
|
data/docs/RecordingMediumDTO.md
CHANGED
@@ -4,16 +4,16 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **release_date** | **Time** | | [optional] |
|
10
|
-
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
11
|
-
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
7
|
+
| **spotify_id** | **String** | | [optional] |
|
8
|
+
| **genre_predictions** | [**Array<RecordingGenrePredictionDTO>**](RecordingGenrePredictionDTO.md) | | [optional] |
|
12
9
|
| **recording_party_entities** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
13
10
|
| **genres** | [**Array<GenreDTO>**](GenreDTO.md) | | [optional] |
|
14
11
|
| **language_of_performance** | **String** | | [optional] |
|
15
|
-
| **
|
16
|
-
| **
|
12
|
+
| **release_date** | **Time** | | [optional] |
|
13
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
14
|
+
| **musical_features** | [**MusicalFeaturesDTO**](MusicalFeaturesDTO.md) | | [optional] |
|
15
|
+
| **tags** | [**Array<RecordingTagSmallDTO>**](RecordingTagSmallDTO.md) | | [optional] |
|
16
|
+
| **isrc** | **String** | | |
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
@@ -21,16 +21,16 @@
|
|
21
21
|
require 'songtradr_api_client_ruby'
|
22
22
|
|
23
23
|
instance = SongtradrApiClientRuby::RecordingMediumDTO.new(
|
24
|
-
|
25
|
-
|
26
|
-
release_date: null,
|
27
|
-
titles: null,
|
28
|
-
musical_features: null,
|
24
|
+
spotify_id: null,
|
25
|
+
genre_predictions: null,
|
29
26
|
recording_party_entities: null,
|
30
27
|
genres: null,
|
31
28
|
language_of_performance: null,
|
32
|
-
|
33
|
-
|
29
|
+
release_date: null,
|
30
|
+
titles: null,
|
31
|
+
musical_features: null,
|
32
|
+
tags: null,
|
33
|
+
isrc: null
|
34
34
|
)
|
35
35
|
```
|
36
36
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **isrc** | **String** | | |
|
8
7
|
| **musical_features** | [**Array<MusicalFeaturesDTO>**](MusicalFeaturesDTO.md) | | [optional] |
|
8
|
+
| **isrc** | **String** | | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
require 'songtradr_api_client_ruby'
|
14
14
|
|
15
15
|
instance = SongtradrApiClientRuby::RecordingMinimalWithMusicalFeaturesDTO.new(
|
16
|
-
|
17
|
-
|
16
|
+
musical_features: null,
|
17
|
+
isrc: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **recording** | [**RecordingMediumDTO**](RecordingMediumDTO.md) | | [optional] |
|
8
|
+
| **songtradr_track_guid** | **String** | | [optional] |
|
8
9
|
| **assigned_by_id** | **Integer** | | [optional] |
|
9
10
|
| **sequence** | **Integer** | | [optional] |
|
10
|
-
| **songtradr_track_guid** | **String** | | [optional] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
|
|
16
16
|
|
17
17
|
instance = SongtradrApiClientRuby::RecordingPlaylistDTO.new(
|
18
18
|
recording: null,
|
19
|
+
songtradr_track_guid: null,
|
19
20
|
assigned_by_id: null,
|
20
|
-
sequence: null
|
21
|
-
songtradr_track_guid: null
|
21
|
+
sequence: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/RecordingSmallDTO.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **duration** | **Integer** | | [optional] |
|
8
|
-
| **isrc** | **String** | | |
|
9
|
-
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
8
|
| **parties** | [**Array<RecordingPartyDTO>**](RecordingPartyDTO.md) | | [optional] |
|
9
|
+
| **titles** | [**Array<TitleDTO>**](TitleDTO.md) | | [optional] |
|
10
|
+
| **isrc** | **String** | | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -16,9 +16,9 @@ require 'songtradr_api_client_ruby'
|
|
16
16
|
|
17
17
|
instance = SongtradrApiClientRuby::RecordingSmallDTO.new(
|
18
18
|
duration: null,
|
19
|
-
|
19
|
+
parties: null,
|
20
20
|
titles: null,
|
21
|
-
|
21
|
+
isrc: null
|
22
22
|
)
|
23
23
|
```
|
24
24
|
|
data/docs/UserDTO.md
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
| **audiotagging_allowed** | **Boolean** | | |
|
21
21
|
| **b2b_allowed** | **Boolean** | | |
|
22
22
|
| **editor_allowed** | **Boolean** | | |
|
23
|
+
| **insights_allowed** | **Boolean** | | |
|
23
24
|
| **reduced_musical_features** | **Boolean** | | |
|
24
25
|
| **confirmed** | **Boolean** | | |
|
25
26
|
| **language** | **String** | | |
|
@@ -47,6 +48,7 @@ instance = SongtradrApiClientRuby::UserDTO.new(
|
|
47
48
|
audiotagging_allowed: null,
|
48
49
|
b2b_allowed: null,
|
49
50
|
editor_allowed: null,
|
51
|
+
insights_allowed: null,
|
50
52
|
reduced_musical_features: null,
|
51
53
|
confirmed: null,
|
52
54
|
language: null,
|
data/getspec.rb
CHANGED
@@ -3,8 +3,31 @@
|
|
3
3
|
require "json"
|
4
4
|
require 'net/http'
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
MAX_RETRIES = 5
|
7
|
+
DELAY_SECONDS = 1
|
8
|
+
|
9
|
+
def fetch_gem_version(version)
|
10
|
+
response = Net::HTTP.get_response(URI("https://rubygems.org/gems/songtradr_api_client_ruby/versions/#{version}"))
|
11
|
+
response.code
|
12
|
+
end
|
13
|
+
|
14
|
+
def fetch_api_version
|
15
|
+
retries = 0
|
16
|
+
api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
|
17
|
+
|
18
|
+
until api_response.code == "200" || retries >= MAX_RETRIES
|
19
|
+
sleep(DELAY_SECONDS)
|
20
|
+
api_response = Net::HTTP.get_response(URI(ENV['SONGTRADR_API']))
|
21
|
+
retries += 1
|
22
|
+
end
|
23
|
+
|
24
|
+
begin
|
25
|
+
json = JSON.parse(api_response.body)
|
26
|
+
version = json["info"]["version"]
|
27
|
+
rescue
|
28
|
+
version = "0.0.0"
|
29
|
+
end
|
30
|
+
fetch_gem_version(version) == "404" ? version : "0.0.0"
|
31
|
+
end
|
32
|
+
|
33
|
+
puts fetch_api_version
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -0,0 +1,213 @@
|
|
1
|
+
=begin
|
2
|
+
#Songtradr API
|
3
|
+
|
4
|
+
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
|
+
Contact: info@songtradr.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module SongtradrApiClientRuby
|
16
|
+
class APIKeysApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# create an API key
|
23
|
+
# @param create_api_key_dto [CreateApiKeyDTO]
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @return [AdminApiUserDTO]
|
26
|
+
def create_api_key(create_api_key_dto, opts = {})
|
27
|
+
data, _status_code, _headers = create_api_key_with_http_info(create_api_key_dto, opts)
|
28
|
+
data
|
29
|
+
end
|
30
|
+
|
31
|
+
# create an API key
|
32
|
+
# @param create_api_key_dto [CreateApiKeyDTO]
|
33
|
+
# @param [Hash] opts the optional parameters
|
34
|
+
# @return [Array<(AdminApiUserDTO, Integer, Hash)>] AdminApiUserDTO data, response status code and response headers
|
35
|
+
def create_api_key_with_http_info(create_api_key_dto, opts = {})
|
36
|
+
if @api_client.config.debugging
|
37
|
+
@api_client.config.logger.debug 'Calling API: APIKeysApi.create_api_key ...'
|
38
|
+
end
|
39
|
+
# verify the required parameter 'create_api_key_dto' is set
|
40
|
+
if @api_client.config.client_side_validation && create_api_key_dto.nil?
|
41
|
+
fail ArgumentError, "Missing the required parameter 'create_api_key_dto' when calling APIKeysApi.create_api_key"
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/api/v1/user/apiKeys'
|
45
|
+
|
46
|
+
# query parameters
|
47
|
+
query_params = opts[:query_params] || {}
|
48
|
+
|
49
|
+
# header parameters
|
50
|
+
header_params = opts[:header_params] || {}
|
51
|
+
# HTTP header 'Accept' (if needed)
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
53
|
+
# HTTP header 'Content-Type'
|
54
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
55
|
+
if !content_type.nil?
|
56
|
+
header_params['Content-Type'] = content_type
|
57
|
+
end
|
58
|
+
|
59
|
+
# form parameters
|
60
|
+
form_params = opts[:form_params] || {}
|
61
|
+
|
62
|
+
# http body (model)
|
63
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_api_key_dto)
|
64
|
+
|
65
|
+
# return_type
|
66
|
+
return_type = opts[:debug_return_type] || 'AdminApiUserDTO'
|
67
|
+
|
68
|
+
# auth_names
|
69
|
+
auth_names = opts[:debug_auth_names] || ['bearer-jwt']
|
70
|
+
|
71
|
+
new_options = opts.merge(
|
72
|
+
:operation => :"APIKeysApi.create_api_key",
|
73
|
+
:header_params => header_params,
|
74
|
+
:query_params => query_params,
|
75
|
+
:form_params => form_params,
|
76
|
+
:body => post_body,
|
77
|
+
:auth_names => auth_names,
|
78
|
+
:return_type => return_type
|
79
|
+
)
|
80
|
+
|
81
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
82
|
+
if @api_client.config.debugging
|
83
|
+
@api_client.config.logger.debug "API called: APIKeysApi#create_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
84
|
+
end
|
85
|
+
return data, status_code, headers
|
86
|
+
end
|
87
|
+
|
88
|
+
# delete an API key
|
89
|
+
# @param id [String]
|
90
|
+
# @param [Hash] opts the optional parameters
|
91
|
+
# @return [Object]
|
92
|
+
def delete_api_key(id, opts = {})
|
93
|
+
data, _status_code, _headers = delete_api_key_with_http_info(id, opts)
|
94
|
+
data
|
95
|
+
end
|
96
|
+
|
97
|
+
# delete an API key
|
98
|
+
# @param id [String]
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
101
|
+
def delete_api_key_with_http_info(id, opts = {})
|
102
|
+
if @api_client.config.debugging
|
103
|
+
@api_client.config.logger.debug 'Calling API: APIKeysApi.delete_api_key ...'
|
104
|
+
end
|
105
|
+
# verify the required parameter 'id' is set
|
106
|
+
if @api_client.config.client_side_validation && id.nil?
|
107
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling APIKeysApi.delete_api_key"
|
108
|
+
end
|
109
|
+
# resource path
|
110
|
+
local_var_path = '/api/v1/user/apiKeys/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
111
|
+
|
112
|
+
# query parameters
|
113
|
+
query_params = opts[:query_params] || {}
|
114
|
+
|
115
|
+
# header parameters
|
116
|
+
header_params = opts[:header_params] || {}
|
117
|
+
# HTTP header 'Accept' (if needed)
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
119
|
+
|
120
|
+
# form parameters
|
121
|
+
form_params = opts[:form_params] || {}
|
122
|
+
|
123
|
+
# http body (model)
|
124
|
+
post_body = opts[:debug_body]
|
125
|
+
|
126
|
+
# return_type
|
127
|
+
return_type = opts[:debug_return_type] || 'Object'
|
128
|
+
|
129
|
+
# auth_names
|
130
|
+
auth_names = opts[:debug_auth_names] || ['bearer-jwt']
|
131
|
+
|
132
|
+
new_options = opts.merge(
|
133
|
+
:operation => :"APIKeysApi.delete_api_key",
|
134
|
+
:header_params => header_params,
|
135
|
+
:query_params => query_params,
|
136
|
+
:form_params => form_params,
|
137
|
+
:body => post_body,
|
138
|
+
:auth_names => auth_names,
|
139
|
+
:return_type => return_type
|
140
|
+
)
|
141
|
+
|
142
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
143
|
+
if @api_client.config.debugging
|
144
|
+
@api_client.config.logger.debug "API called: APIKeysApi#delete_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
145
|
+
end
|
146
|
+
return data, status_code, headers
|
147
|
+
end
|
148
|
+
|
149
|
+
# list API keys
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
|
152
|
+
# @option opts [Integer] :size The size of the page to be returned (default to 20)
|
153
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
154
|
+
# @return [Array<ApiKeyDTO>]
|
155
|
+
def get_api_keys(opts = {})
|
156
|
+
data, _status_code, _headers = get_api_keys_with_http_info(opts)
|
157
|
+
data
|
158
|
+
end
|
159
|
+
|
160
|
+
# list API keys
|
161
|
+
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Integer] :page Zero-based page index (0..N) (default to 0)
|
163
|
+
# @option opts [Integer] :size The size of the page to be returned (default to 20)
|
164
|
+
# @option opts [Array<String>] :sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
165
|
+
# @return [Array<(Array<ApiKeyDTO>, Integer, Hash)>] Array<ApiKeyDTO> data, response status code and response headers
|
166
|
+
def get_api_keys_with_http_info(opts = {})
|
167
|
+
if @api_client.config.debugging
|
168
|
+
@api_client.config.logger.debug 'Calling API: APIKeysApi.get_api_keys ...'
|
169
|
+
end
|
170
|
+
# resource path
|
171
|
+
local_var_path = '/api/v1/user/apiKeys'
|
172
|
+
|
173
|
+
# query parameters
|
174
|
+
query_params = opts[:query_params] || {}
|
175
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
176
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
177
|
+
query_params[:'sort'] = @api_client.build_collection_param(opts[:'sort'], :multi) if !opts[:'sort'].nil?
|
178
|
+
|
179
|
+
# header parameters
|
180
|
+
header_params = opts[:header_params] || {}
|
181
|
+
# HTTP header 'Accept' (if needed)
|
182
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
183
|
+
|
184
|
+
# form parameters
|
185
|
+
form_params = opts[:form_params] || {}
|
186
|
+
|
187
|
+
# http body (model)
|
188
|
+
post_body = opts[:debug_body]
|
189
|
+
|
190
|
+
# return_type
|
191
|
+
return_type = opts[:debug_return_type] || 'Array<ApiKeyDTO>'
|
192
|
+
|
193
|
+
# auth_names
|
194
|
+
auth_names = opts[:debug_auth_names] || ['bearer-jwt']
|
195
|
+
|
196
|
+
new_options = opts.merge(
|
197
|
+
:operation => :"APIKeysApi.get_api_keys",
|
198
|
+
:header_params => header_params,
|
199
|
+
:query_params => query_params,
|
200
|
+
:form_params => form_params,
|
201
|
+
:body => post_body,
|
202
|
+
:auth_names => auth_names,
|
203
|
+
:return_type => return_type
|
204
|
+
)
|
205
|
+
|
206
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
207
|
+
if @api_client.config.debugging
|
208
|
+
@api_client.config.logger.debug "API called: APIKeysApi#get_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
209
|
+
end
|
210
|
+
return data, status_code, headers
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
6
|
+
The version of the OpenAPI document: 1.12.23
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|