Subject: The mailing list for listmasters using Sympa
List archive
- From: Antonio Casado <address@concealed>
- To: address@concealed
- Subject: Re: [en@sympa] Description with SOAP
- Date: Tue, 22 Nov 2022 19:58:57 +0100
Hi all.Is it complicated to extend the SOAP "info" command to show the description?What would be the strategy to follow?Steps:a) Extend <complexType name="listType"> in /etc/sympa/sympa.wsdlb) Extend "SOAP type listType" in /usr/share/sympa/lib/Sympa/WWW/SOAP.pmc) Extend "sub info" in /usr/share/sympa/lib/Sympa/WWW/SOAP.pmd) Where is list description? In $list->{'admin'}{'description'} or in a function like Sympa::get_description($list) ??e) systemctl restart wwsympaIs it correct?Thanks youEl lun, 21 nov 2022 a las 12:58, Antonio Casado (<address@concealed>) escribió:Hi David,info command show "subject" too.<complexType name="listType">
<all>
<element name="listAddress" minOccurs="1" type="string"/>
<element name="homepage" minOccurs="0" type="string"/>
<element name="isSubscriber" minOccurs="0" type="boolean"/>
<element name="isOwner" minOccurs="0" type="boolean"/>
<element name="isEditor" minOccurs="0" type="boolean"/>
<element name="subject" minOccurs="0" type="string"/>
<element name="firstBounceDate" minOccurs="0" type="int"/>
<element name="lastBounceDate" minOccurs="0" type="int"/>
<element name="bounceCount" minOccurs="0" type="int"/>
<element name="bounceCode" minOccurs="0" type="string"/>
<element name="bounceScore" minOccurs="0" type="int"/>
</all>
</complexType>Thanks youEl lun, 21 nov 2022 a las 12:47, David Verdin (<address@concealed>) escribió:Hi,
The "lists", "which" and "complexlists" SOAP command return the list's subject (the short list description).
But that's all.
HOWEVER, once you got the list name, you can call the "info" SOAP command which will return the detailed list description. Note that there is no way to get the "web" list description. Only the plain text description.
See the following link for a detailed commands description:
https://www.sympa.community/manual/customize/soap-api.html
Regards,
David
On 21/11/2022 12:22, Antonio Casado (via en Mailing List) wrote:
Hi.
Is there a way to query the list description with SOAP? I only see the subject.
Thank you
-- "Mieux vaut viser la perfection et la rater que viser la médiocrité et l'atteindre." - Francis Blanche David Verdin Chef de Projet Collaboratif Département PROduits NUMériques Direction des Services Applicatifs RENATER - Rennes
Attachment:
SOAP.pm.patch
Description: Binary data
Attachment:
sympa.wsdl.patch
Description: Binary data
-
[en@sympa] Description with SOAP,
Antonio Casado, 11/21/2022
-
Message not available
-
Re: [en@sympa] Description with SOAP,
Antonio Casado, 11/21/2022
-
Re: [en@sympa] Description with SOAP,
Antonio Casado, 11/22/2022
- Re: [en@sympa] Description with SOAP, Antonio Casado, 11/22/2022
-
Re: [en@sympa] Description with SOAP,
Antonio Casado, 11/22/2022
-
Re: [en@sympa] Description with SOAP,
Antonio Casado, 11/21/2022
-
Message not available
Archive powered by MHonArc 2.6.19+.