shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

267
active users

#restapi

0 posts0 participants0 posts today
Mike Elston<p>Isn't it fun when an API returns JSON, when there is one result, the data is a object, but if its multiple, its an array of objects. But only some calls, on other calls its always an array.</p><p>So much for consistancy. </p><p><a href="https://kzoo.to/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a> <a href="https://kzoo.to/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> <a href="https://kzoo.to/tags/restapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>restapi</span></a></p>
James Bartlett :terminal:<p>I've been working on <a href="https://techhub.social/tags/PowerBits" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PowerBits</span></a> (a collection of <a href="https://techhub.social/tags/PowerShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PowerShell</span></a> scripts for <a href="https://techhub.social/tags/PowerBI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PowerBI</span></a> 📊 <a href="https://techhub.social/tags/Admins" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Admins</span></a>) recently, and I just made a minor breakthrough. 💪😎👍</p><p>One of the biggest missing features of the Power BI <a href="https://techhub.social/tags/RESTAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RESTAPIs</span></a> right now is the ability to export a <a href="https://techhub.social/tags/Dataset" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Dataset</span></a> as a <a href="https://techhub.social/tags/PBIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PBIX</span></a> file. Of course, you can export a <a href="https://techhub.social/tags/Report" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Report</span></a> as a PBIX file, and if that Report is bound to a Dataset, then the Dataset will be included with the Report when you export it. However, if the Dataset you need to export doesn't have a Report bound to it (I've started calling this a <a href="https://techhub.social/tags/BareDataset" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BareDataset</span></a>), then the <a href="https://techhub.social/tags/RESTAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RESTAPI</span></a> can't help you. That Dataset can only be exported manually from the Power BI Service using a web browser. Yuck! 🤮</p><p>To solve this problem:<br>1. Find and select a target <a href="https://techhub.social/tags/BareDataset" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BareDataset</span></a><br>2. Upload a <a href="https://techhub.social/tags/BlankReport" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BlankReport</span></a> to the same <a href="https://techhub.social/tags/Workspace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Workspace</span></a><br>3. Re-bind the blank Report to the bare Dataset<br>4. Export the blank Report as a PBIX file<br>5. Delete the blank Report from the Workspace</p><p>Step 1 Complete (mostly) 😅:<br><a href="https://github.com/JamesDBartlett3/PowerBits/blob/main/PowerShell/Get-PowerBIBareDatasetsFromWorkspaces.ps1" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/JamesDBartlett3/Pow</span><span class="invisible">erBits/blob/main/PowerShell/Get-PowerBIBareDatasetsFromWorkspaces.ps1</span></a></p>
Moof! 🏳️‍🌈<p>Can anyone help me with a <a href="https://cupoftea.social/tags/RestAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RestAPI</span></a> question?</p><p>I am designing an API. I have a resource (a financial transaction) that requires an explicit authorisation process. The way to request authorisation is to POST to an /authorize endpoint on the resource.</p><p>What HTTP status code do I return in the case that authorisation is denied?</p><p>I can’t return 400, as the request is correct. 401 is reserved for not providing credentials. 403 is reserved for when the requesting party is not allowed to request authorisation. 404 for when the resource is not found. 405 for method not allowed…</p><p>Maybe a 406? A 409? A 412? A 422? What do people use for the semantics of “Request correctly submitted and valid but denied”? A 200 is definitely not the right answer.</p>
Phil Sturgeon<p>With land completion done and YET ANOTHER lurgy killing me I'm cancelling all my immediate plans. It's time to work on finishing a book. Gonna complete Surviving Other People's Web APIs, then get onto a series of misadventures in bikes &amp; tech books between tree planting / maintenance events.</p><p><a href="https://apisyouwonthate.com/books/surviving-other-peoples-apis" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apisyouwonthate.com/books/surv</span><span class="invisible">iving-other-peoples-apis</span></a></p><p><a href="https://mastodon.green/tags/restapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>restapi</span></a> <a href="https://mastodon.green/tags/climateaction" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>climateaction</span></a> <a href="https://mastodon.green/tags/writing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>writing</span></a></p>
DerRente<p>Unterschied zwischen Testabdeckung und Codeabdeckung?<br>Die Code<br><a href="https://www.dev-crowd.com/2022/11/07/unterschied-zwischen-testabdeckung-und-codeabdeckung/" rel="nofollow noopener" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">dev-crowd.com/2022/11/07/unter</span><span class="invisible">schied-zwischen-testabdeckung-und-codeabdeckung/</span></a><br><a href="https://mastodontech.de/tags/ExplorativesTesten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ExplorativesTesten</span></a> <a href="https://mastodontech.de/tags/LoadandPerformance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LoadandPerformance</span></a> <a href="https://mastodontech.de/tags/Mocking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mocking</span></a> <a href="https://mastodontech.de/tags/Penetrationtest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Penetrationtest</span></a> <a href="https://mastodontech.de/tags/Projektmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Projektmanagement</span></a> <a href="https://mastodontech.de/tags/RestAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RestAPI</span></a> <a href="https://mastodontech.de/tags/TestEngineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestEngineering</span></a> <a href="https://mastodontech.de/tags/Testautomatisierung" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testautomatisierung</span></a> <a href="https://mastodontech.de/tags/Testframework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testframework</span></a> <a href="https://mastodontech.de/tags/Testlink" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testlink</span></a> <a href="https://mastodontech.de/tags/Testmanagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testmanagement</span></a> <a href="https://mastodontech.de/tags/Testplan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testplan</span></a> <a href="https://mastodontech.de/tags/Testsuites" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Testsuites</span></a> <a href="https://mastodontech.de/tags/Tools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tools</span></a> <a href="https://mastodontech.de/tags/Apptesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apptesting</span></a> <a href="https://mastodontech.de/tags/Codecoverage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Codecoverage</span></a> <a href="https://mastodontech.de/tags/crossbrowsertesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crossbrowsertesting</span></a> <a href="https://mastodontech.de/tags/flakytesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakytesting</span></a> <a href="https://mastodontech.de/tags/ManualTesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ManualTesting</span></a> <a href="https://mastodontech.de/tags/Penetrationtesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Penetrationtesting</span></a> <a href="https://mastodontech.de/tags/pytest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pytest</span></a> <a href="https://mastodontech.de/tags/Regressiontesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Regressiontesting</span></a> <a href="https://mastodontech.de/tags/testcoverage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testcoverage</span></a></p>