Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for Beta Commons #16

Closed
maskaravivek opened this issue Jun 3, 2019 · 11 comments
Closed

API for Beta Commons #16

maskaravivek opened this issue Jun 3, 2019 · 11 comments

Comments

@maskaravivek
Copy link
Member

It would be great to have APIs corresponding to the beta commons server that can be consumed by the commons app as discussed in commons-app/apps-android-commons#2975

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Resolved with 0f5f5dd and f6eb893. You can now submit https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Martin_Urbanec&fetch=deletedUploads&db=testcommonswiki or https://tools.wmflabs.org/urbanecmbot/commonsmisc/test.py?user=Jagro&db=testcommonswiki and query other database. Theoretically, you can use even non-commons databases, like "cswiki" or "enwiki". Database looks the same, so it will work.

@urbanecm urbanecm closed this as completed Jun 3, 2019
@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Ahh, you didn't mean prod test (https://test-commons.wikimedia.org), but beta commons https://commons.wikimedia.beta.wmflabs.org/wiki/Main_Page... That'll be kinda harder, let me think off something.

@urbanecm urbanecm reopened this Jun 3, 2019
@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Placed access request, I don't have access to beta commons database https://phabricator.wikimedia.org/T224865.

@maskaravivek
Copy link
Member Author

I meant beta commons ie https://commons.wikimedia.beta.wmflabs.org

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Resolved a few hours later. https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Martin_Urbanec&labs=commonswiki looks to give the requested data. Can you please test and let me know?

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Updated docs in 5d10fee

@maskaravivek
Copy link
Member Author

Resolved a few hours later. https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Martin_Urbanec&labs=commonswiki looks to give the requested data. Can you please test and let me know?

this link is not working for me.

Screen Shot 2019-06-03 at 11 18 40 PM

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

That's an DNS issue at your end, try to refresh?

@maskaravivek
Copy link
Member Author

Works now. Thanks a lot. :)

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

Does this also mean the API works as it is supposed to?

@maskaravivek
Copy link
Member Author

Yes. Closing the issue as resolved. Thanks a lot for a quick resolution. :)

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

No branches or pull requests

2 participants