vimeo / vimeo/vimeo-networking-java
UserMetadataInteractions Vimeo Api update, library not working anymore
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 128
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Exception: class com.squareup.moshi.JsonDataException - Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $.user.metadata.interactions
Reproduction Steps
VimeoApiClient.instance().fetchVideo(...)
Expected Behavior
List of UserMetadataInteractions
Actual Behavior
Object of UserMetadataInteractions
Related:
https://github.com/mfilippov/vimeo-dot-net/issues/204
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at VimeoApiClient.instance().fetchVideo(...) and trace the mapping for $.user.metadata.interactions, then read the related vimeo-dot-net issue for the API change. Done means the response is handled as a list of UserMetadataInteractions without the Moshi JsonDataException; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100