Multiple Site Alias request returns insufficient error content
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the multi-name site-alias get request and its malformed response example, then trace how the library handles missing aliases and successful results. Done means the response identifies missing aliases and returns information for aliases that exist, without the malformed domain value.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In setting up some tools to 'bulk-manage' site aliases, it appears that when I make a request to get Info for multiple Site Aliases and one of them doesn't exist, I get a generic, singular, and somewhat malformed result. Examples below:
There were four aliased subdomains on qa.domain.com. The last two aliases have been removed prior to this test.
REQUEST
<packet>
<site-alias>
<get>
<filter>
<name>alias-02.qa.domain.com</name>
<name>alias-03.qa.domain.com</name>
<name>alias-04.qa.domain.com</name>
<name>alias-05.qa.domain.com</name>
</filter>
</get>
</site-alias>
</packet>
RESPONSE (in JSON for readability)
{
"success": false,
"domain": "..domain.com",
"message": "Domain alias does not exist"
}
The domain element is malformed, and it neither gives me the info that it can get on the existing aliases, nor does it tell me which aliases, if any, do not exist.
I can work around this by making discrete calls to see which fail, but cringe at the wasted overhead and time to set this up.
- Lingua principale
- PHP
- Stelle
- 157
- Fork
- 79
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plesk/api-php-lib
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
plesk/api-php-lib#163 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
plesk/api-php-lib#152 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
plesk/api-php-lib#78 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
plesk/api-php-lib#75 · 2 commenti · 4 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
plesk/api-php-lib#69 · 1 commento · 3 reazioni ·
Tutte le issue di plesk/api-php-lib
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
[Area] REST API [Type] Documentation Good First Issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
WordPress/presence-api#584 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100