Tags to digital resources of free and personal assignment.
Name | Description |
---|---|
type | Represents the type of object, [learning_objects,collections] |
id | The id of object |
tags[name] | The name of tag |
tags[owner_id] | The id of owner |
tags[owner_type] | Can be [User,Institution] |
Accept: application/json Content-Type: application/json Access-Token: 2dgonW3dPS9xjfV5wAC5dg Client: HGc73x72UYXxAi984gpjsA Uid: linnea_harber@mohr.name Host: example.org Cookie:
POST /v1/learning_objects/1059/tagging
{"tags":{"name":"quae","owner_id":9593,"owner_type":"User"}}
curl "https://api.portalmec.c3sl.ufpr.br/v1/learning_objects/1059/tagging" -d '{"tags":{"name":"quae","owner_id":9593,"owner_type":"User"}}' -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Access-Token: 2dgonW3dPS9xjfV5wAC5dg" \ -H "Client: HGc73x72UYXxAi984gpjsA" \ -H "Uid: linnea_harber@mohr.name"
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Content-Type: application/json; charset=utf-8 Set-Cookie: _session_id=YzhVVXNjSGdDYTI0WDIvc2dMSzRMWExUb0YxcFdGbDV1ODZ6UHlXdm9HV1BMQVhEUUxCeWk5alZicTgvSWFTcEdDNGdXcmxGNm5OVXZyMDhaeGhwS0ROajdJdkdWK0N2anN3K2lhQitaci84SlErWlY1MVJCWElhTXBSbWo3VG9uTWs2czNPQzJBeEw4WEcxQkNCMkhKOFp3RXRwNVdmbEdQYVdyWHRFK29RYjV0dXNRdVFieEhWM1E5c1dHUmhZLS01eGxSRjh5bzYxMXo2UVRuRXpTOUx3PT0%3D--a7a489612dcb7c6ff3a27b0af7330fff058f0371; path=/; HttpOnly Vary: Origin ETag: W/"63e8112a871a675b1aea63568e299c00" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: a6190b41-dd3d-48f6-bb2f-2e222725654d X-Runtime: 0.125727 Content-Length: 657
201 Created
[binary data]