... generate_api
authorVolker Birk <vb@pep-project.org>
Fri, 22 Feb 2019 10:39:43 +0100
branchgenerate_api
changeset 33043254e201f3c0
parent 3303 428f0be3c283
child 3311 cdfdb6831046
...
api/message_api.yml2
     1.1 --- a/api/message_api.yml2	Fri Feb 22 10:29:31 2019 +0100
     1.2 +++ b/api/message_api.yml2	Fri Feb 22 10:39:43 2019 +0100
     1.3 @@ -38,19 +38,19 @@
     1.4  
     1.5  
     1.6  struct message {
     1.7 -field msg_direction dir;
     1.8 -	field string id doc='UTF-8 string of message ID';
     1.9 +    field msg_direction dir;
    1.10 +	field string id doc='UTF-8 string of message ID' link="#message_ID";
    1.11  	field string shortmsg doc='UTF-8 string of short message';
    1.12 -	field string longmsg doc='UTF-8 string of long message'(plain)';
    1.13 +	field string longmsg doc='string of long message (plain)';
    1.14  	field string longmsg_formatted doc='UTF-8 string of long message (formatted)';
    1.15     	field bloblist_t attachments doc='blobs with attachements';
    1.16  	field char rawmsg_ref doc='reference to raw message data';
    1.17  	field size_t rawmsg_size doc='size of raw message data';
    1.18  	field timestamp sent doc='when the message is sent';
    1.19  	field timestamp recv doc='when the message is received';
    1.20 -	field pEp_identity from doc='whom the message is from';
    1.21 +	field identity from doc='whom the message is from';
    1.22  	field identity_list to doc='whom the message is to';
    1.23 -	field pEp_identity recv_by doc='via which identity the message is received';
    1.24 +	field identity recv_by doc='via which identity the message is received';
    1.25  	field identity_list cc doc='whom a CC is being sent';
    1.26  	field identity_list bcc doc='whom a BCC is being sent';
    1.27  	field identity_list reply_to doc='where a reply should go to';
    1.28 @@ -304,7 +304,7 @@
    1.29  
    1.30  	use message msg
    1.31  	doc="""
    1.32 -		message to get the rating for. From must point to a valid pEp_identity.
    1.33 +		message to get the rating for. From must point to a valid identity.
    1.34  		Dir must be dir_outgoing.
    1.35  		""";
    1.36  
    1.37 @@ -323,7 +323,7 @@
    1.38  
    1.39  	use message msg
    1.40  	doc="""
    1.41 -		message to get the rating for. From must point to a valid pEp_identity.
    1.42 +		message to get the rating for. From must point to a valid identity.
    1.43  		Dir must be dir_outgoing.
    1.44  		""";
    1.45  
    1.46 @@ -434,7 +434,7 @@
    1.47  	//parms
    1.48  
    1.49  	use message msg
    1.50 -		doc="message to get the rating for. msg->from must point to a valid pEp_identity";
    1.51 +		doc="message to get the rating for. msg->from must point to a valid identity";
    1.52  
    1.53  	use hash_list x_keylist doc="decrypted message recipients keys fpr";
    1.54