Skip to content

Pro 1821/include all metadata#32

Open
richardwarlden wants to merge 2 commits intoPRO-1815/get-access-token-with-postfrom
PRO-1821/include-all-metadata
Open

Pro 1821/include all metadata#32
richardwarlden wants to merge 2 commits intoPRO-1815/get-access-token-with-postfrom
PRO-1821/include-all-metadata

Conversation

@richardwarlden
Copy link

PRO-1821 - Extend the query to return all metadata and custom fields

The following changes were made:

  • All metadata, collected for the FileInfo, is added to the resulting object.

  • The collection of custom fields are filtered to include only fields with actual values.

Copy link
Contributor

@kaskajp kaskajp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of things otherwise good.

body.append("client_secret", client_secret);
body.append("refresh_token", refresh_token);

xhr.open('POST', 'https://accounts.mediaflow.com/oauth2/token');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded URL. Token endpoint could point to accounts on tech and staging?

alert('Ett fel inträffade vid nerladdning av fil');
me.isDownloading = false;
}, function(o) {
alert('Ett fel inträffade vid nerladdning av fil');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add translations here while you're at it.

@richardwarlden richardwarlden changed the base branch from develop to PRO-1815/get-access-token-with-post February 10, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants