| 1234567891011121314151617 |
- # Find APIGAuth records linked to APIG Vo3ROWEvDy
- $headers = @{ "X-Parse-Application-Id" = "ncloudmaster" }
- $where = '{"api":{"__type":"Pointer","className":"APIG","objectId":"Vo3ROWEvDy"}}'
- $encoded = [System.Uri]::EscapeDataString($where)
- $url = "https://server.fmode.cn/parse/classes/APIGAuth?where=$encoded"
- Write-Host "=== APIGAuth records for APIG Vo3ROWEvDy ===" -ForegroundColor Cyan
- try {
- $r = Invoke-RestMethod -Uri $url -Method GET -Headers $headers -TimeoutSec 15
- Write-Host "Found $($r.results.Count) records" -ForegroundColor Green
- foreach ($rec in $r.results) {
- Write-Host " objectId: $($rec.objectId) count: $($rec.count) user: $($rec.user.objectId) company: $($rec.company.objectId)" -ForegroundColor Yellow
- }
- $r.results | ConvertTo-Json -Depth 5
- } catch {
- Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
- }
|