X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetSites.py;h=c0f198e18e891ea9024aa11c7bbec722c4e5c89b;hb=db15e87507a9dcc02bfa5637f7195c82d12e7e49;hp=0d98e6b27c7243de9a89ace65aeba77ed060bfa9;hpb=aeeb95a629e6a90a12a7fda7633fcb06eb5af233;p=plcapi.git diff --git a/PLC/Methods/GetSites.py b/PLC/Methods/GetSites.py index 0d98e6b..c0f198e 100644 --- a/PLC/Methods/GetSites.py +++ b/PLC/Methods/GetSites.py @@ -19,6 +19,8 @@ class GetSites(Method): Auth(), Mixed([Mixed(Site.fields['site_id'], Site.fields['login_base'])], + Parameter(str,"login_base"), + Parameter(int,"site_id"), Filter(Site.fields)), Parameter([str], "List of fields to return", nullok = True) ]