Subjects to digital resources, like Artes, Biologia.
Name | Description |
---|---|
id | The id of the object |
type | Represents the type of the object [LearningObject, Collection] |
subjects | The array of subjects |
Accept: application/json Content-Type: application/json Access-Token: YUOacjbUOIJ1toWWNar36w Client: cv_Z5TwSbNKAWdPseDdeHQ Uid: rosamond_bahringer@hamillkuhn.com Host: example.org Cookie:
DELETE v1/learning_objects/1029/subjects
{"subjects":[1]}
curl "https://api.portalmec.c3sl.ufpr.brv1/learning_objects/1029/subjects" -d '{"subjects":[1]}' -X DELETE \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Access-Token: YUOacjbUOIJ1toWWNar36w" \ -H "Client: cv_Z5TwSbNKAWdPseDdeHQ" \ -H "Uid: rosamond_bahringer@hamillkuhn.com"
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=ZjRJeXhHNXgveVIzT2VlTEtRKy8wMXovWTEwUGlKOFNEU0JVZ1NhR0FrYWlCN0x1MERVMncvTnB5QTBzYWhCcWtZbCtRQm1ic2ZVZ0UvU3hUNDJvYlJxNi9rT1FKWEgyTFM4Qll0OFY0bU8zUHZGelg0dzNsK2cxbjVZdlJvS051ZFU0Zkx6ZmNCZXhEU3luRDZFY3YwZjlYR0VVRkF4eWRYYXVuSEkxbGtMM3NQUmMvczFsbnNidEd2YllwMHVqLS14QlFwMEl4M0lEVkFYWUFEYnNYVVlRPT0%3D--84ca2b653c287c1d217283f866c27d48166773f8; path=/; HttpOnly Vary: Origin ETag: W/"413fe2ae9a45db79bda1a0cb365782d1" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: af8e2db3-5b5f-49b1-87d0-ce4f7e8cfb92 X-Runtime: 0.098651 Content-Length: 265
200 OK
[ { "id": 24, "name": "Educação Quilombola", "created_at": "2021-02-25T14:03:43.185Z", "updated_at": "2021-02-25T14:03:43.185Z", "theme": true }, { "id": 25, "name": "Educação Sexual", "created_at": "2021-02-25T14:03:43.193Z", "updated_at": "2021-02-25T14:03:43.193Z", "theme": true } ]